1 #ifndef ROTATING_BYTE_HASHER_CLASS
2 #define ROTATING_BYTE_HASHER_CLASS
static basis::un_int hash_bytes(const void *key_data, int key_length)
returns a value that can be used for indexing into a hash table.
A hashing algorithm takes a key and derives a related integer from it.
Implements a hashing algorithm based on the contents stored in an object.
virtual ~rotating_byte_hasher()
virtual basis::un_int hash(const void *key_data, int key_length) const
returns a value that can be used for indexing into a hash table.
virtual hashing_algorithm * clone() const
implements cloning of the algorithm object.
Constants and objects used throughout HOOPLE.
unsigned int un_int
Abbreviated name for unsigned integers.
A dynamic container class that holds any kind of object via pointers.