| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# PoolDbMsgReporter Class Reference

Inheritance diagram for PoolDbMsgReporter:

[legend]
Collaboration diagram for PoolDbMsgReporter:

[legend]

List of all members.

## Detailed Description

Definition at line 41 of file PoolDbCacheSvc.cpp.

## Public Member Functions
| PoolDbMsgReporter (IMessageSvc *s, int l)
| Default constructor.
virtual | ~PoolDbMsgReporter ()
| Destructor.
virtual void | report (int lvl, const std::string &src, const std::string &msg)
| Report a message.
## Protected Attributes
IMessageSvc * | m_svc
| Reference to message reporter.
int | m_lvl

## Constructor & Destructor Documentation

PoolDbMsgReporter::PoolDbMsgReporter | ( | IMessageSvc * | s,
|  | int | l |
| ) |  |  | `[inline]`

Default constructor.

Definition at line 48 of file PoolDbCacheSvc.cpp.

    00048 : coral::MsgReporter(), m_svc(s), m_lvl(l)  {}

virtual PoolDbMsgReporter::~PoolDbMsgReporter | ( |  | ) | `[inline, virtual]`

Destructor.

Definition at line 50 of file PoolDbCacheSvc.cpp.

    00050 { }

## Member Function Documentation

virtual void PoolDbMsgReporter::report | ( | int | lvl,
|  | const std::string & | src,
|  | const std::string & | msg |
| ) |  |  | `[inline, virtual]`

Report a message.

Reimplemented from coral::MsgReporter.

Definition at line 52 of file PoolDbCacheSvc.cpp.

    00052                                                                            {
    00053     if ( lvl >= m_lvl ) m_svc->reportMessage(src,lvl,msg);
    00054   }

## Member Data Documentation

IMessageSvc* PoolDbMsgReporter::m_svc`[protected]`

Reference to message reporter.

Definition at line 44 of file PoolDbCacheSvc.cpp.

int PoolDbMsgReporter::m_lvl`[protected]`

Definition at line 45 of file PoolDbCacheSvc.cpp.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v20r4/GaudiPoolDb/src/PoolDbCacheSvc.cpp