Objects used with GNodeHashTable should inherit from this class. They must implement two methods (to hash and compare the nodes).
More...
#include <GHashTable.h>
Objects used with GNodeHashTable should inherit from this class. They must implement two methods (to hash and compare the nodes).
| GClasses::HashTableNode::HashTableNode |
( |
| ) |
|
|
inline |
| virtual GClasses::HashTableNode::~HashTableNode |
( |
| ) |
|
|
inlinevirtual |
| virtual bool GClasses::HashTableNode::equals |
( |
HashTableNode * |
pThat | ) |
|
|
pure virtual |
Returns true iff this compares equal to pThat.
| virtual size_t GClasses::HashTableNode::hash |
( |
size_t |
nBucketCount | ) |
|
|
pure virtual |
Returns a hash value for this node.