| # Gaudi Framework, version v21r7p1 |

Home |  | Generated: 15 Feb 2010

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

Common class providing an architecture-independent hash map. More...

`#include <GaudiKernel/HashMap.h>`

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

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

[legend]

List of all members.

## Public Types
typedef H | hasher
## Public Member Functions
hasher | hash_funct () const

## 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 54 of file HashMap.h.

## 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 57 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 59 of file HashMap.h.

    00059                                      {
    00060 // Marco Cl.: since on windows we are using a std::map, we have to provide a different implementation
    00061 // for GaudiUtils::HashMap::hash_funct(). (std::map::hash_funct does not exist)
    00062 #ifdef _WIN32
    00063       return hasher();
    00064 #else
    00065       return this->m_map.hash_funct();
    00066 #endif
    00067     }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7p1/GaudiKernel/GaudiKernel/HashMap.h