The Gaudi Framework
master (d98a2936)
HashMap.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/Hash.h
>
14
#include <
GaudiKernel/Map.h
>
15
#include <unordered_map>
16
17
namespace
GaudiUtils
{
79
template
<
typename
K,
typename
T,
typename
H = Hash<K>,
typename
M = std::unordered_map<K, T, H>>
80
class
HashMap
:
public
Map
<K, T, M> {
81
public
:
82
typedef
H
hasher
;
83
inline
hasher
hash_funct
()
const
{
return
this->
m_map
.hash_funct(); }
84
};
85
}
// namespace GaudiUtils
GaudiUtils::Map< K, T, std::unordered_map< K, T, Hash< K > > >::m_map
map_type m_map
Definition:
Map.h:101
GaudiUtils::HashMap::hash_funct
hasher hash_funct() const
Definition:
HashMap.h:83
GaudiUtils::HashMap::hasher
H hasher
Definition:
HashMap.h:82
GaudiUtils::Map
Definition:
Map.h:82
GaudiUtils::Hash
Definition:
Hash.h:93
Map.h
GaudiUtils::HashMap
Definition:
HashMap.h:80
GaudiUtils
Definition:
Allocator.h:62
Hash.h
GaudiKernel
include
GaudiKernel
HashMap.h
Generated on Wed Aug 13 2025 09:05:03 for The Gaudi Framework by
1.8.18