Helper structure using overloaded operator() to calculate the Tcl hashes of various input types.
More...
#include <TclHash.h>
|
size_t | operator() (const void *start, size_t len, size_t seed=0) const |
| Returns hash of a memory buffer with an optional seed. More...
|
|
size_t | operator() (const String &s) const |
| Returns hash of a String. More...
|
|
size_t | operator() (const char *s) const |
| Returns hash of a null-terminated c-String. More...
|
|
Helper structure using overloaded operator() to calculate the Tcl hashes of various input types.
This class is usually used as a template parameter, i.e. see BlobHashTraits.h.
Definition at line 109 of file TclHash.h.
size_t Hypertable::TclHash::operator() |
( |
const void * |
start, |
|
|
size_t |
len, |
|
|
size_t |
seed = 0 |
|
) |
| const |
|
inline |
Returns hash of a memory buffer with an optional seed.
Definition at line 111 of file TclHash.h.
size_t Hypertable::TclHash::operator() |
( |
const String & |
s | ) |
const |
|
inline |
Returns hash of a String.
Definition at line 116 of file TclHash.h.
size_t Hypertable::TclHash::operator() |
( |
const char * |
s | ) |
const |
|
inline |
Returns hash of a null-terminated c-String.
Definition at line 121 of file TclHash.h.
The documentation for this struct was generated from the following file:
- /home/doug/src/hypertable/src/cc/Common/TclHash.h