Loading...
Searching...
No Matches
Hash< T > Class Template Reference

Hash function class. The default definition is for primitives. Non-primitives used to hash entries on hash tables will need a specialized version. More...

#include <Hash.H>

Inheritance diagram for Hash< T >:

Public Member Functions

unsigned operator() (const T &obj, unsigned seed=0) const

Detailed Description

template<class T>
class Foam::Hash< T >

Hash function class. The default definition is for primitives. Non-primitives used to hash entries on hash tables will need a specialized version.

Definition at line 47 of file Hash.H.

Member Function Documentation

◆ operator()()

template<class T>
unsigned operator() ( const T & obj,
unsigned seed = 0 ) const
inline

Definition at line 49 of file Hash.H.

References Foam::Hasher(), and Foam::T().

Here is the call graph for this function:

The documentation for this class was generated from the following file:
  • src/OpenFOAM/primitives/hashes/Hash/Hash.H