Go to the documentation of this file.
56 template<
class PrimitiveType>
64 unsigned operator()(
const PrimitiveType&
p,
unsigned seed)
const
115 unsigned operator()(
const string&
p,
unsigned seed)
const
219 unsigned operator()(
const void*
const&
p,
unsigned seed)
const
224 unsigned operator()(
const void*
const&
p)
const
unsigned operator()(const void *const &p) const
unsigned operator()(const word &p, unsigned seed) const
unsigned operator()(const void *const &p, unsigned seed) const
unsigned operator()(const wordRe &p, unsigned seed) const
unsigned operator()(const keyType &p, unsigned seed) const
A class for handling words, derived from string.
unsigned operator()(const fileName &p, unsigned seed) const
A class for handling file names.
unsigned operator()(const keyType &p) const
unsigned Hasher(const void *data, size_t len, unsigned seed=0)
Bob Jenkins's 96-bit mixer hashing function (lookup3)
A class for handling character strings derived from std::string.
unsigned operator()(const fileName &p) const
A wordRe is a word, but can also have a regular expression for matching words.
A class for handling keywords in dictionaries.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Misc. hashing functions, mostly from Bob Jenkins.
unsigned operator()(const PrimitiveType &p, unsigned seed) const
unsigned operator()(const string &p, unsigned seed) const
Hashing function class, shared by all the derived classes.
unsigned operator()(const PrimitiveType &p) const
unsigned operator()(const word &p) const
unsigned operator()(const string &p) const
unsigned operator()(const wordRe &p) const