HashHelper class Helper class to generate hash 64 id.
More...
#include <Utils.h>
|
static constexpr unsigned long long int | doByte (unsigned long long int hash, unsigned char val) |
|
static unsigned long long int | hash64 (const char *key) |
| Generate a hash 64 from a string. More...
|
|
template<typename T > |
static unsigned long long int | typeHash64 () |
| Generate a hash 64 from the typeid name. More...
|
|
|
static const unsigned long long int | hashinit = 14695981039346656037ull |
| Init value for hash 64. More...
|
|
HashHelper class Helper class to generate hash 64 id.
Definition at line 118 of file Utils.h.
◆ doByte()
static constexpr unsigned long long int marlinmt::HashHelper::doByte |
( |
unsigned long long int |
hash, |
|
|
unsigned char |
val |
|
) |
| |
|
inlinestatic |
◆ hash64()
static unsigned long long int marlinmt::HashHelper::hash64 |
( |
const char * |
key | ) |
|
|
inlinestatic |
Generate a hash 64 from a string.
- Parameters
-
Definition at line 133 of file Utils.h.
◆ typeHash64()
template<typename T >
static unsigned long long int marlinmt::HashHelper::typeHash64 |
( |
| ) |
|
|
inlinestatic |
Generate a hash 64 from the typeid name.
Definition at line 144 of file Utils.h.
◆ hashinit
const unsigned long long int marlinmt::HashHelper::hashinit = 14695981039346656037ull |
|
staticprivate |
Init value for hash 64.
Definition at line 121 of file Utils.h.
The documentation for this class was generated from the following file: