Helper structure using overloaded operator() to calculate hashes of various input types. More...
#include <MurmurHash.h>
Public Member Functions | |
uint32_t | operator() (const String &s) const |
Returns hash of a String. More... | |
uint32_t | operator() (const void *start, size_t len, uint32_t seed=0) const |
Returns hash of a memory buffer. More... | |
uint32_t | operator() (const char *s) const |
Returns hash of a null terminated memory buffer. More... | |
Helper structure using overloaded operator() to calculate hashes of various input types.
This class is usually used as a template parameter, i.e. see BlobHashTraits.h.
Definition at line 58 of file MurmurHash.h.
|
inline |
Returns hash of a String.
Definition at line 60 of file MurmurHash.h.
|
inline |
Returns hash of a memory buffer.
Definition at line 65 of file MurmurHash.h.
|
inline |
Returns hash of a null terminated memory buffer.
Definition at line 70 of file MurmurHash.h.