Templated class, defined and implimented in file: hzTmplMapL.h
The hzLookup template is a special case of a hzMapS providing a memory resident one to one map of strings (hzString) to objects. The strings are required to be unique and there may only be one object per key. Only the objects can be of any C++, HadronZoo or application specific type. hzLookup is considered UNORDERED because it uses the fast string compare function (fscompare). This function compares strings as though they were arrays of int64_t and thus only gives a valid lexical comparison in big-endian CPU architectures.
Constructors/Detructors
| hzLookup* | hzLookup | (hzLookup<OBJ>&) | |
| hzLookup* | hzLookup | (void) | |
| hzLookup* | hzLookup | (hzLockOpt eLock) | |
| hzLookup* | hzLookup | (hzString& name) | |
| hzLookup* | hzLookup | (hzLockOpt eLock)hzString& name, | |
| void | ~hzLookup | (void) |
Public Methods:
Overloaded operators:
| hzLookup<OBJ>& | operator= | (hzLookup<OBJ>&) | |
| OBJ& | operator[] | (hzString& key) |
Member Variables:
| _hz_tmpl_ISAM | base | _hz_set_isam_Value ordered list by value | |
| hzString | m_DefaultKey | Default key (effectively NULL) | |
| OBJ | m_DefaultObj | Default key (effectively NULL) | |
| hzString | m_NullKey | Null key | |
| OBJ | m_NullObj | Null key |