| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Protected Attributes

# PoolDbLinkManager Class Reference

Description: PoolDbLinkManager class implementation definition. More...

`#include <GaudiPoolDb/PoolDbLinkManager.h>`

Collaboration diagram for PoolDbLinkManager:
[legend]

List of all members.

## 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.

## Detailed Description

Description: PoolDbLinkManager class implementation definition.

Author:
  Markus Frank

Version:
  1.0

Definition at line 33 of file PoolDbLinkManager.h.

## Constructor & Destructor Documentation

PoolDbLinkManager::PoolDbLinkManager | ( | ) |

Standard constructor.

Definition at line 27 of file PoolDbLinkManager.cpp.

    {
      static pool::DbInstanceCount::Counter* c = counter();
      c->increment();
    }

PoolDbLinkManager::~PoolDbLinkManager | ( | ) | `[virtual]`

Standard destructor.

Definition at line 34 of file PoolDbLinkManager.cpp.

    {
      static pool::DbInstanceCount::Counter* c = counter();
      c->decrement();
      for (std::vector<pool::Token*>::iterator i = m_refs.begin(); i != m_refs.end(); ++i )  {
        if ( *i )  {
          (*i)->release();
        }
      }
      m_links.clear();
      m_refs.clear();
    }

## Member Function Documentation

std::vector<std::string>& PoolDbLinkManager::links | ( | ) | `[inline]`

Access to link array.

Definition at line 52 of file PoolDbLinkManager.h.

                                     {
        return m_links;
      }

std::vector<pool::Token*>& PoolDbLinkManager::references | ( | ) | `[inline]`

Access to token array.

Definition at line 48 of file PoolDbLinkManager.h.

                                           {
        return m_refs;
      }

## Member Data Documentation

std::vector<std::string> PoolDbLinkManager::m_links`[protected]`

Logical links.

Definition at line 38 of file PoolDbLinkManager.h.

std::vector<pool::Token*> PoolDbLinkManager::m_refs`[protected]`

Directory links.

Definition at line 36 of file PoolDbLinkManager.h.

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

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiPoolDb/GaudiPoolDb/PoolDbLinkManager.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiPoolDb/src/PoolDbLinkManager.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines