Templated class, defined and implimented in file: hzTmplMapS.h
Persistent 1:1 map. This is a Serial Datacron implimented as a memory resident 1:1 map, plus delta file. Note that classes represented by KEY and OBJ must have serialization functions. Specifically they must have a >> ifstream operator, and either a << ostream operator or an operator const char*. Note that unlike hzMapS, the classes represented by KEY and OBJ must have serialization functions.
Constructors/Detructors
| hzPMapS* | hzPMapS | (hzPMapS<KEY,OBJ>&) | |
| hzPMapS* | hzPMapS | (void) | |
| hzPMapS* | hzPMapS | (hzLockOpt eLock) | |
| hzPMapS* | hzPMapS | (hzString& name) | |
| hzPMapS* | hzPMapS | (hzLockOpt eLock)hzString& name, | |
| void | ~hzPMapS | (void) |
Public Methods:
Overloaded operators:
| hzPMapS<KEY,OBJ>& | operator= | (hzPMapS<KEY,OBJ>&) | |
| OBJ& | operator[] | (KEY& key) |
Member Variables:
| bool | m_bOpen | Is delta file open for writing | |
| hzMapS<KEY,OBJ> | m_map | The map | |
| ofstream | m_os | Delta file | |
| hzString | m_path | Delta file path |