1 #ifndef STRING_HASHER_CLASS
2 #define STRING_HASHER_CLASS
virtual basis::un_int hash(const void *key_data, int key_length) const
similar to string_hasher, but expects "key_data" as an astring pointer.
virtual hashing_algorithm * clone() const
implements cloning of the algorithm object.
A hashing algorithm takes a key and derives a related integer from it.
Implements a simple hashing algorithm for strings.
virtual basis::un_int hash(const void *key_data, int key_length) const
returns a value that can be used to index into a hash table.
virtual hashing_algorithm * clone() const
implements cloning of the algorithm object.
unsigned int un_int
Abbreviated name for unsigned integers.
A dynamic container class that holds any kind of object via pointers.