Hash function class for primitives. All non-primitives used to hash entries on hash tables likely need a specialised version of this class. More...
Public Member Functions | |
Hash () | |
unsigned | operator() (const PrimitiveType &p, unsigned seed) const |
unsigned | operator() (const PrimitiveType &p) const |
unsigned | operator() (const edge &e, unsigned seed) const |
Hash specialisation for hashing edges - a commutative hash value. More... | |
unsigned | operator() (const edge &e) const |
Hash specialisation for hashing edges - a commutative hash value. More... | |
unsigned | operator() (const triFace &t, unsigned seed) const |
Hash specialisation for hashing triFace - a commutative hash value. More... | |
unsigned | operator() (const triFace &t) const |
Hash specialisation 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 specialised version of this class.
|
inline |
Definition at line 59 of file Hash.H.
References Foam::Hasher(), and p.
Referenced by Hash< PrimitiveType >::operator()().
|
inline |
Definition at line 64 of file Hash.H.
References Foam::Hasher(), and p.
|
inline |
|
inline |
|
inline |
|
inline |
Hash specialisation for hashing triFace - a commutative hash value.
Definition at line 255 of file triFace.H.
References Hash< PrimitiveType >::operator()().