| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

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

    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 }

## Member Function Documentation

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

Access to token array.

Definition at line 48 of file PoolDbLinkManager.h.

    00048                                        {
    00049     return m_refs;
    00050   }

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

Access to link array.

Definition at line 52 of file PoolDbLinkManager.h.

    00052                                  {
    00053     return m_links;
    00054   }

## Member Data Documentation

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

Directory links.

Definition at line 36 of file PoolDbLinkManager.h.

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

Logical links.

Definition at line 38 of file PoolDbLinkManager.h.

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

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