|
BPHash
General object hashing library for C++
|
Class that is used to hash objects. More...
#include <Hasher.hpp>
Public Member Functions | |
| Hasher (HashType type) | |
| Constructor. More... | |
| Hasher (const Hasher &)=delete | |
| Hasher & | operator= (const Hasher &)=delete |
| Hasher (Hasher &&)=default | |
| Hasher & | operator= (Hasher &&)=default |
| void | operator() (void) |
| Add an object to the hash. More... | |
| template<typename T , typename... Targs> | |
| void | operator() (const T &obj, const Targs &...objs) |
| Add an object to the hash. More... | |
| HashValue | finalize (void) |
| Perform any remaining steps and return the hash. More... | |
Class that is used to hash objects.
Data is added via operator().
Definition at line 78 of file Hasher.hpp.
| bphash::Hasher::Hasher | ( | HashType | type | ) |
|
delete |
|
default |
|
inline |
Perform any remaining steps and return the hash.
Definition at line 131 of file Hasher.hpp.


|
inline |
Add an object to the hash.
Objects are progressively hashed until finalize() is called
This overload is used to terminate the variadic template
Definition at line 100 of file Hasher.hpp.
|
inline |
Add an object to the hash.
Objects are progressively hashed until finalize() is called
Definition at line 108 of file Hasher.hpp.
1.8.11