Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PsName::hashFunctionObject Struct Reference

a function object for a hash function More...

#include <PsName.h>

List of all members.

Public Methods

size_t operator() (const PsName &nom) const


Detailed Description

a function object for a hash function

Definition at line 198 of file PsName.h.


Member Function Documentation

size_t PsName::hashFunctionObject::operator() const PsName   nom const [inline]
 

Definition at line 199 of file PsName.h.

References PsName::getCString().

00200       {
00201          //dont't hash on _identifiers, because they might change, breaking all hash maps
00202          static hash<const char *> H;
00203          return H(nom.getCString() );
00204       }


The documentation for this struct was generated from the following file:
logo OpenMask

Documentation generated on Mon Nov 25 15:26:14 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001