#include <string_hasher.h>


Public Member Functions | |
| virtual u_int | hash (const void *key_data, int key_length) const |
| similar to string_hasher, but expects "key_data" as an istring pointer. | |
| virtual hashing_algorithm * | clone () const |
| implements cloning of the algorithm object. | |
Definition at line 40 of file string_hasher.h.
| u_int istring_hasher::hash | ( | const void * | key_data, | |
| int | key_length | |||
| ) | const [virtual] |
similar to string_hasher, but expects "key_data" as an istring pointer.
Implements hashing_algorithm.
Definition at line 76 of file string_hasher.cpp.
References istring::length(), and istring::observe().
| hashing_algorithm * istring_hasher::clone | ( | ) | const [virtual] |
implements cloning of the algorithm object.
Implements hashing_algorithm.
Definition at line 73 of file string_hasher.cpp.
1.5.6