![]() |
|
|
Generated: 8 Jan 2009 |
#include <GaudiPoolDb/PoolDbLinkManager.h>

Definition at line 32 of file PoolDbLinkManager.h.
Public Member Functions | |
| PoolDbLinkManager () | |
| Standard constructor. | |
| virtual | ~PoolDbLinkManager () |
| Standard destructor. | |
| std::vector< pool::Token * > & | references () |
| Access to token array. | |
| std::vector< std::string > & | links () |
| Access to link array. | |
Protected Attributes | |
| std::vector< pool::Token * > | m_refs |
| Directory links. | |
| std::vector< std::string > | m_links |
| Logical links. | |
| PoolDbLinkManager::PoolDbLinkManager | ( | ) |
Standard constructor.
Definition at line 27 of file PoolDbLinkManager.cpp.
00028 { 00029 static pool::DbInstanceCount::Counter* c = counter(); 00030 c->increment(); 00031 }
| PoolDbLinkManager::~PoolDbLinkManager | ( | ) | [virtual] |
Standard destructor.
Definition at line 34 of file PoolDbLinkManager.cpp.
00035 { 00036 static pool::DbInstanceCount::Counter* c = counter(); 00037 c->decrement(); 00038 for (std::vector<pool::Token*>::iterator i = m_refs.begin(); i != m_refs.end(); ++i ) { 00039 if ( *i ) { 00040 (*i)->release(); 00041 } 00042 } 00043 m_links.clear(); 00044 m_refs.clear(); 00045 }
| std::vector<pool::Token*>& PoolDbLinkManager::references | ( | ) | [inline] |
Access to token array.
Definition at line 47 of file PoolDbLinkManager.h.
00047 { 00048 return m_refs; 00049 }
| std::vector<std::string>& PoolDbLinkManager::links | ( | ) | [inline] |
Access to link array.
Definition at line 51 of file PoolDbLinkManager.h.
00051 { 00052 return m_links; 00053 }
std::vector<pool::Token*> PoolDbLinkManager::m_refs [protected] |
std::vector<std::string> PoolDbLinkManager::m_links [protected] |