#include <mmap.h>
Inheritance diagram for GenHash::

Public Methods | |
| GenHash (int hsize=64, int flags=0) | |
| GenHash (HashFunc *hfunc, int hsize=16, int flags=0) | |
| void | make (HashFunc *hashfunc, int hsize, int flags) |
| void | set (const Comparable *key, Object *value) |
| const Object* | get (const Comparable &key) const throw (not_found) |
| DumpContext& | operator>> (DumpContext &out) const |
| ostream& | operator>> (ostream &out) const |
| void | empty () |
| void | remove (const Comparable &key) |
| void | operator+= (const GenHash &other) |
| void | check () const |
Protected Attributes | |
| Array<HashBucket> | hash |
| int | hashsize |
| HashFunc* | hashfunc |
| bool | isref |
Definition at line 88 of file mmap.h.
|
|
Checks the integrity of the object, throws check_failed exception if fails.
Reimplemented from Object. Referenced by Map::check(). |
|
|
Printing to standard C++ streams.
Reimplemented from Object. |
|
|
Serializes the object into a dump stream. You can use this to save objects into file. Reimplemented from Object. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001