|
libcmutils 0.6.5
Multi-platform C99 utility library
|
Key-value pair for CMUTIL_Map. More...
Data Fields | |
| const char *(* | GetKey )(const CMUTIL_MapPair *pair) |
| Retrieves the key from a given CMUTIL_MapPair instance. | |
| void *(* | GetValue )(const CMUTIL_MapPair *pair) |
| Retrieves the value from a given CMUTIL_MapPair instance. | |
Key-value pair for CMUTIL_Map.
| const char *(* CMUTIL_MapPair::GetKey) (const CMUTIL_MapPair *pair) |
Retrieves the key from a given CMUTIL_MapPair instance.
This function pointer is used to obtain the key associated with a CMUTIL_MapPair object. The key is represented as a constant character string and provides a means to identify the pair in the map structure.
| pair | A pointer to the CMUTIL_MapPair instance from which the key will be retrieved. |
| void *(* CMUTIL_MapPair::GetValue) (const CMUTIL_MapPair *pair) |
Retrieves the value from a given CMUTIL_MapPair instance.
This function pointer is used to get the value associated with a CMUTIL_MapPair object. The value is represented as a void pointer and provides the data associated with the pair in the map structure.
| pair | A pointer to the CMUTIL_MapPair instance from which the value will be retrieved. |