Templated class, defined and implimented in file: hzTmplMapM.h
The hzMapM template provides a memory resident one to many map of keys (class KEY) to objects (class OBJ). Although there can be many objects with the same key the hzMapM template uses the same _hz_map_Pair ISAM as hzMapS - meaning that the key is repeated for each object associated with it. Note for any given key, objects are inserted in the order of incidence so the insert location is always one place after the last.
Constructors/Detructors
| hzMapM* | hzMapM | (hzMapM<KEY,OBJ>&) | |
| hzMapM* | hzMapM | (void) | |
| hzMapM* | hzMapM | (hzLockOpt eLock) | |
| hzMapM* | hzMapM | (hzString& name) | |
| hzMapM* | hzMapM | (hzLockOpt eLock)hzString& name, | |
| void | ~hzMapM | (void) |
Public Methods:
Overloaded operators:
| hzMapM<KEY,OBJ>& | operator= | (hzMapM<KEY,OBJ>&) | |
| OBJ& | operator[] | (KEY& key) |
Member Variables:
| _hz_tmpl_ISAM | base | _hz_set_isam_Value ordered list by value | |
| KEY | m_DefaultKey | Default key (effectively NULL) | |
| OBJ | m_DefaultObj | Default key (effectively NULL) | |
| KEY | m_NullKey | Null key | |
| OBJ | m_NullObj | Null key |