A constexpr version of FNV hash function. (32 bit version)
More...
#include <fnv_1a_hash.h>
|
|
typedef std::uint32_t | HashType |
| The hash to be employed is 32 bits this time. More...
|
|
A constexpr version of FNV hash function. (32 bit version)
The algorithm is the FNV-1a version of Fowler–Noll–Vo (FNV) hash function as described in Wikipedia. https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
- Author
- Pooyan Dadvand
◆ HashType
The hash to be employed is 32 bits this time.
◆ FNV1a32Hash() [1/2]
Kratos::FNV1a32Hash::FNV1a32Hash |
( |
| ) |
|
|
delete |
The class is unconstructable.
◆ ~FNV1a32Hash()
virtual Kratos::FNV1a32Hash::~FNV1a32Hash |
( |
| ) |
|
|
virtualdelete |
◆ FNV1a32Hash() [2/2]
Kratos::FNV1a32Hash::FNV1a32Hash |
( |
FNV1a32Hash const & |
rOther | ) |
|
|
delete |
◆ CalculateHash()
static constexpr HashType Kratos::FNV1a32Hash::CalculateHash |
( |
const char *const |
TheString | ) |
|
|
inlinestaticconstexpr |
◆ operator=()
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/kratos/includes/fnv_1a_hash.h