Inheritance diagram for HashPtr:
Public Methods | |
virtual unsigned int | getHashVal (const void *const key, unsigned int mod) |
virtual bool | equals (const void *const key1, const void *const key2) |
HashPtr
class inherits from HashBase
. This is a generic hasher class designed to hash the pointers of the objects themselves. Useful if you want to hash objects instead of strings so long as the objects don't move to a different memory location. See HashBase
for more information.
|
Compares two keys and determines if they are semantically equal
Implements HashBase. |
|
Returns a hash value based on the key
Implements HashBase. |