Gaudi Framework, version v20r4

Generated: 8 Jan 2009

GaudiUtils::HashMap< K, T, H, M > Class Template Reference

#include <GaudiKernel/HashMap.h>

Inheritance diagram for GaudiUtils::HashMap< K, T, H, M >:

Inheritance graph
[legend]
Collaboration diagram for GaudiUtils::HashMap< K, T, H, M >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename K, typename T, typename H = Hash<K>, typename M = __gnu_cxx::hash_map<K,T,H>>
class GaudiUtils::HashMap< K, T, H, M >

Common class providing an architecture-independent hash map.

Author:
Marco Clemencic
Date:
2005-10-06

Definition at line 48 of file HashMap.h.


Public Types

typedef H hasher

Public Member Functions

hasher hash_funct () const

Member Typedef Documentation

template<typename K, typename T, typename H = Hash<K>, typename M = __gnu_cxx::hash_map<K,T,H>>
typedef H GaudiUtils::HashMap< K, T, H, M >::hasher

Definition at line 51 of file HashMap.h.


Member Function Documentation

template<typename K, typename T, typename H = Hash<K>, typename M = __gnu_cxx::hash_map<K,T,H>>
hasher GaudiUtils::HashMap< K, T, H, M >::hash_funct (  )  const [inline]

Definition at line 53 of file HashMap.h.

00053                                      {
00054 // Marco Cl.: since on windows we are using a std::map, we have to provide a different implementation
00055 // for GaudiUtils::HashMap::hash_funct(). (std::map::hash_funct does not exist)
00056 #ifdef _WIN32
00057       return hasher();
00058 #else
00059       return this->m_map.hash_funct();
00060 #endif
00061     }


The documentation for this class was generated from the following file:

Generated at Thu Jan 8 17:54:02 2009 for Gaudi Framework, version v20r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004