| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
Containers::hashmap Struct Reference
Collaboration diagram for Containers::hashmap:
[legend]

## Public Types
typedef GaudiUtils::HashMap< long, void * > | map_type

## Public Member Functions
bool | insert (void *obj, long key)
| hashmap ()=default
| hashmap (hashmap &&)=default

## Public Attributes
map_type | m
std::vector< void * > | v

## Detailed Description

Definition at line 12 of file KeyedObjectManager.cpp.

## Member Typedef Documentation

typedef GaudiUtils::HashMap<long, void*> Containers::hashmap::map_type

Definition at line 13 of file KeyedObjectManager.cpp.

## Constructor & Destructor Documentation

Containers::hashmap::hashmap | ( |  | ) |
| default

Containers::hashmap::hashmap | ( | hashmap && |  | ) |
| default

## Member Function Documentation

bool Containers::hashmap::insert | ( | void * | obj,
|  | long | key
| ) |  |
| inline

Definition at line 16 of file KeyedObjectManager.cpp.

17 {
18 auto p = m.insert( map_type::value_type( key, obj ) );
19 return p.second;
20 }
Containers::hashmap::m
map_type m
Definition: KeyedObjectManager.cpp:14
GaudiUtils::Map::insert
std::pair< iterator, bool > insert(ValueType &&val)
Definition: Map.h:174
GaudiUtils::Map< long, void *, std::unordered_map< long, void *, Hash< long > > >::value_type
std::pair< const long, void * > value_type
Definition: Map.h:94

## Member Data Documentation

map_type Containers::hashmap::m

Definition at line 14 of file KeyedObjectManager.cpp.

std::vector<void*> Containers::hashmap::v

Definition at line 15 of file KeyedObjectManager.cpp.

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

- GaudiKernel/src/Lib/KeyedObjectManager.cpp