All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
 

Public Attributes

map_type m
 
std::vector< void * > v
 

Detailed Description

Definition at line 12 of file KeyedObjectManager.cpp.

Member Typedef Documentation

Definition at line 13 of file KeyedObjectManager.cpp.

Member Function Documentation

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

Definition at line 16 of file KeyedObjectManager.cpp.

16  {
17  std::pair<map_type::iterator,bool> p =
18  m.insert(map_type::value_type(key,obj));
19  return p.second;
20  }
std::pair< iterator, bool > insert(const value_type &val)
Definition: Map.h:165
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: