Jpp
18.0.0-rc.2
the software that should make you happy
|
Auxiliary class for default hash key evaluation. More...
#include <JHashEvaluator.hh>
Public Member Functions | |
template<class JKey_t > | |
int | operator() (const JKey_t &key) const |
Get hash value. More... | |
int | operator() (const char key) const |
Get hash value. More... | |
int | operator() (const unsigned char key) const |
Get hash value. More... | |
int | operator() (const short key) const |
Get hash value. More... | |
int | operator() (const unsigned short key) const |
Get hash value. More... | |
int | operator() (const int key) const |
Get hash value. More... | |
int | operator() (const unsigned int key) const |
Get hash value. More... | |
int | operator() (const long int key) const |
Get hash value. More... | |
int | operator() (const unsigned long int key) const |
Get hash value. More... | |
int | operator() (const long long int key) const |
Get hash value. More... | |
int | operator() (const unsigned long long int key) const |
Get hash value. More... | |
Auxiliary class for default hash key evaluation.
For a composite hash key, the following policy member method should be provided.
int getKey() const;
For integral primitive data types, the hash value is obtained by a simple cast to an int
value.
Definition at line 24 of file JHashEvaluator.hh.
|
inline |
Get hash value.
key | key |
Definition at line 32 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 37 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 38 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 39 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 40 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 41 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 42 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 43 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 44 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 45 of file JHashEvaluator.hh.
|
inline |
Get hash value.
Definition at line 46 of file JHashEvaluator.hh.