The Gaudi Framework  master (37c0b60a)
Containers::hashmap Struct Reference
Collaboration diagram for Containers::hashmap:

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 21 of file KeyedObjectManager.cpp.

Member Typedef Documentation

◆ map_type

Definition at line 22 of file KeyedObjectManager.cpp.

Constructor & Destructor Documentation

◆ hashmap() [1/2]

Containers::hashmap::hashmap ( )
default

◆ hashmap() [2/2]

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

Member Function Documentation

◆ insert()

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

Definition at line 25 of file KeyedObjectManager.cpp.

25  {
26  auto p = m.insert( map_type::value_type( key, obj ) );
27  return p.second;
28  }

Member Data Documentation

◆ m

map_type Containers::hashmap::m

Definition at line 23 of file KeyedObjectManager.cpp.

◆ v

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

Definition at line 24 of file KeyedObjectManager.cpp.


The documentation for this struct was generated from the following file:
Containers::hashmap::m
map_type m
Definition: KeyedObjectManager.cpp:23
GaudiUtils::Map< long, void *, std::unordered_map< long, void *, Hash< long > > >::value_type
std::pair< const long, void * > value_type
Definition: Map.h:102
GaudiUtils::Map::insert
std::pair< iterator, bool > insert(ValueType &&val)
Definition: Map.h:178
ProduceConsume.key
key
Definition: ProduceConsume.py:84