Manak  2.0.0
manak::utils::ObjectStore Class Reference
Inheritance diagram for manak::utils::ObjectStore:
Collaboration diagram for manak::utils::ObjectStore:

Public Member Functions

bool Erase (const std::string &name)
 
bool EraseGroup (const std::string &group_name)
 
void * Get (const std::string &name) const
 
void Insert (const std::string &name, void *obj, const std::string &group_name="")
 
void * RGet (const std::string &name)
 

Static Public Member Functions

static ObjectStoreGetGlobalObjectStore ()
 

Private Attributes

std::map< std::string,
std::list< std::string > > 
m_groups
 

Detailed Description

Definition at line 16 of file object_store.hpp.

Member Function Documentation

bool manak::utils::ObjectStore::Erase ( const std::string &  name)
inline
bool manak::utils::ObjectStore::EraseGroup ( const std::string &  group_name)
inline
void* manak::utils::ObjectStore::Get ( const std::string &  name) const
inline
static ObjectStore& manak::utils::ObjectStore::GetGlobalObjectStore ( )
inlinestatic
void manak::utils::ObjectStore::Insert ( const std::string &  name,
void *  obj,
const std::string &  group_name = "" 
)
inline
void* manak::utils::ObjectStore::RGet ( const std::string &  name)
inline

Member Data Documentation

std::map<std::string, std::list<std::string> > manak::utils::ObjectStore::m_groups
private

Definition at line 33 of file object_store.hpp.


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