15 #ifndef DCHASHGENERATOR_H 16 #define DCHASHGENERATOR_H 19 #include "primeNumberGenerator.h" void add_string(const string &str)
Adds a string to the hash, by breaking it down into a sequence of integers.
void add_int(int num)
Adds another integer to the hash so far.
This class generates an arbitrary hash number from a sequence of ints.
unsigned long get_hash() const
Returns the hash number generated.