Updated: April 19, 2023 |
PiPS multimap
#include <pips/multimap.h>
typedef struct pips_multimap { size_t num_items; pips_multimap_item_t* first; } pips_multimap_t;
This data type is the CSTRUCT encoding of the MultiMap built-in PiPS data type. The multimap container is unordered, and each item has an associated key that must be unique to the pips_multimap_t instance.
The C structure type and its associated functions let clients use the MultiMap data type without having to encode data in PPS. This is helpful when interacting with Number or BLOB fields because the client doesn't have to translate them from string data to double or octet-array data.