FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Hash< void * > Class Template Reference

Hash specialization for hashing pointer addresses. More...

#include <src/OpenFOAM/primitives/hashes/Hash/Hash.H>


Detailed Description

template<>
class Foam::Hash< void * >

Hash specialization for hashing pointer addresses.

Treat a pointer like a long. This should work for both 32-bit and 64-bit pointers.

Definition at line 77 of file Hash.H.

List of all members.

Public Member Functions

 Hash ()
unsigned  operator() (const void *const &p, unsigned seed) const
unsigned  operator() (const void *const &p) const

Constructor & Destructor Documentation

Hash (  ) [inline]

Definition at line 81 of file Hash.H.


Member Function Documentation

unsigned operator() ( const void *const &   p,
unsigned   seed  
) const [inline]

Definition at line 84 of file Hash.H.

unsigned operator() ( const void *const &   p  ) const [inline]

Definition at line 89 of file Hash.H.


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