Hash function class for primitives. All non-primitives used to hash entries on hash tables likely need a specialized version of this class. More...
Public Member Functions | |
Hash () | |
unsigned | operator() (const PrimitiveType &p, unsigned seed) const |
unsigned | operator() (const PrimitiveType &p) const |
template<> | |
unsigned | operator() (const edge &e, unsigned seed) const |
Hash specialization for hashing edges - a commutative hash value. More... | |
template<> | |
unsigned | operator() (const edge &e) const |
Hash specialization for hashing edges - a commutative hash value. More... | |
template<> | |
unsigned | operator() (const triFace &t, unsigned seed) const |
Hash specialization for hashing triFace - a commutative hash value. More... | |
template<> | |
unsigned | operator() (const triFace &t) const |
Hash specialization for hashing triFace - a commutative hash value. More... | |
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely need a specialized version of this class.
|
inline |
Definition at line 61 of file Hash.H.
Referenced by Hash< Foam::label >::Hash(), and Hash< phasePairKey >::operator()().
|
inline |
|
inline |
|
inline |
|
inline |