Hash function class for primitives. All non-primitives used to hash entries on hash tables likely need a specialized version of this class. More...
#include <OpenFOAM/Hash.H>
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely need a specialized version of this class.
Definition at line 51 of file Hash.H.
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 |
template<> | |
unsigned | operator() (const edge &e) const |
template<> | |
unsigned | operator() (const triFace &t, unsigned seed) const |
template<> | |
unsigned | operator() (const triFace &t) const |
unsigned operator() | ( | const PrimitiveType & | p, |
unsigned | seed | ||
) | const [inline]
|
Definition at line 58 of file Hash.H.
Referenced by Hash< PrimitiveType >::operator()().
unsigned operator() | ( | const PrimitiveType & | p ) | const [inline]
|
unsigned operator() | ( | const edge & | e, |
unsigned | seed | ||
) | const [inline]
|
unsigned operator() | ( | const edge & | e ) | const [inline]
|
unsigned operator() | ( | const triFace & | t, |
unsigned | seed | ||
) | const [inline]
|
unsigned operator() | ( | const triFace & | t ) | const [inline]
|
Hash incrementally.
Definition at line 185 of file triFace.H.
References Hash< PrimitiveType >::operator()().