![]() |
Polygon Crucher SDK - Documentation
Documentation
|
CHashAssocMap is a template class that associate a key to a severals values. More...
CHashAssocMap is a template class that associate a key to a severals values.
CHashAssocMap is an hash table of hash table. Use of CAssociationMap is more compact and should be used whenever possible.
#include <HashAssocMap.h>
Public Member Functions | |
unsigned int | GetCount () const |
unsigned int | GetAssociationCount () const |
unsigned int | GetAssociationCount (const ARG_KEY X) const |
void | MergeAssociation (const ARG_KEY K, const CHashTable< VALUE > &V) |
int | AddAssociation (const ARG_KEY K, const VALUE V) |
int | RemoveAssociation (const ARG_KEY K, const VALUE V, bool enableResize=false) |
int | RemoveAssociations (const ARG_KEY K, bool enableResize=false) |
int | IsAssociationFound (const ARG_KEY K, VALUE &V) |
int | GetFirstAssociationKey (const ARG_KEY X) |
int | GetFirstAssociationValue (const ARG_KEY X, VALUE &V) |
CHashTable< VALUE > * | GetAssociations (const ARG_KEY X) const |
HashPos | GetFirst () const |
void | GetNext (HashPos &pos, KEY *K, CHashTable< VALUE > *&Associations) const |
void | GetNext (HashPos &pos, KEY &K, CHashTable< VALUE > *&Associations) const |
void | GetNextKey (HashPos &pos, KEY *K) const |
void | GetNextKey (HashPos &pos, KEY &K) const |
void | Clear () |
void | Free () |