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

Public Types

typedef std::map< long, void * > map_type
 

Public Member Functions

bool insert (void *obj, long key)
 
 map ()=default
 
 map (map &&)=default
 

Public Attributes

map_type m
 
std::vector< void * > v
 

Detailed Description

Definition at line 32 of file KeyedObjectManager.cpp.

Member Typedef Documentation

◆ map_type

typedef std::map<long, void*> Containers::map::map_type

Definition at line 33 of file KeyedObjectManager.cpp.

Constructor & Destructor Documentation

◆ map() [1/2]

Containers::map::map ( )
default

◆ map() [2/2]

Containers::map::map ( map &&  )
default

Member Function Documentation

◆ insert()

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

Definition at line 36 of file KeyedObjectManager.cpp.

36  {
37  auto p = m.insert( map_type::value_type( key, obj ) );
38  return p.second;
39  }

Member Data Documentation

◆ m

map_type Containers::map::m

Definition at line 34 of file KeyedObjectManager.cpp.

◆ v

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

Definition at line 35 of file KeyedObjectManager.cpp.


The documentation for this struct was generated from the following file:
Containers::map::m
map_type m
Definition: KeyedObjectManager.cpp:34
std::map::insert
T insert(T... args)
ProduceConsume.key
key
Definition: ProduceConsume.py:84