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