Hash< Foam::label > Class Template Reference
Hash specialization for hashing labels.
More...
List of all members.
Detailed Description
template<>
class Foam::Hash< Foam::label >
Hash specialization for hashing labels.
Definition at line 93 of file Hash.H.
Constructor & Destructor Documentation
Member Function Documentation
| unsigned operator() |
( |
const label & |
p, |
|
|
unsigned |
seed | |
|
) |
| | const [inline] |
Incrementally hash a label.
This will necessarily return a different value than the non-incremental version.
Definition at line 105 of file Hash.H.
| unsigned operator() |
( |
const label & |
p |
) |
const [inline] |
Return the unsigned representation of a label.
This helps if people have relied on the hash value corresponding to the natural order.
Definition at line 115 of file Hash.H.
The documentation for this class was generated from the following file:
- src/OpenFOAM/primitives/hashes/Hash/Hash.H
Copyright © 2000-2009 OpenCFD Ltd