#include <HashXMLCh.hpp>
Inheritance diagram for HashXMLCh:
Public Member Functions | |
HashXMLCh () | |
virtual | ~HashXMLCh () |
virtual unsigned int | getHashVal (const void *const key, unsigned int mod) |
virtual bool | equals (const void *const key1, const void *const key2) |
HashXMLCh
class inherits from HashBase
. This is a XMLCh* string specific hasher class designed to hash the values of XMLCh* strings with a given modulo. References the XMLString hash function. See HashBase
for more information.
Definition at line 72 of file HashXMLCh.hpp.
HashXMLCh::HashXMLCh | ( | ) |
virtual HashXMLCh::~HashXMLCh | ( | ) | [virtual] |
virtual bool HashXMLCh::equals | ( | const void *const | key1, | |
const void *const | key2 | |||
) | [virtual] |
Compares two keys and determines if they are semantically equal
key1 | the first key to be compared | |
key2 | the second key to be compared |
Implements HashBase.
virtual unsigned int HashXMLCh::getHashVal | ( | const void *const | key, | |
unsigned int | mod | |||
) | [virtual] |
Returns a hash value based on the key
key | the key to be hashed | |
mod | the modulus the hasher should use |
Implements HashBase.