Configuration parameters for a HashMap. More...
#include <kanzi/core/legacy/util/collection/kzc_hash_map.hpp>
Public Attributes | |
enum KzcHashMapKeyType | keyType |
Type of hash map key. More... | |
KzcHashFunction | hashFunction |
Returns a hash code for the specified key. More... | |
KzcComparatorFunction | keyComparator |
Comparator for the key. More... | |
Configuration parameters for a HashMap.
The configuration specifies what type of keys are used in the hash map. The most common configurations are KZC_HASH_MAP_CONFIGURATION_POINTER if the keys are arbitrary pointers and KZC_HASH_MAP_CONFIGURATION_STRING if the keys are strings. Custom configurations can also be created for other key types such as structs by setting key type to be KZC_HASH_MAP_KEY_TYPE_CUSTOM and providing the required callbacks.
enum KzcHashMapKeyType KzcHashMapConfiguration::keyType |
Type of hash map key.
KzcHashFunction KzcHashMapConfiguration::hashFunction |
Returns a hash code for the specified key.
KzcComparatorFunction KzcHashMapConfiguration::keyComparator |
Comparator for the key.