The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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 31 of file KeyedObjectManager.cpp.

Member Typedef Documentation

◆ map_type

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

Definition at line 32 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 35 of file KeyedObjectManager.cpp.

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

Member Data Documentation

◆ m

map_type Containers::map::m

Definition at line 33 of file KeyedObjectManager.cpp.

◆ v

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

Definition at line 34 of file KeyedObjectManager.cpp.


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