| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ICounterSvc::Printout Class Reference

Print counters for each element in the range [first, last) e.g. More...

`#include <GaudiKernel/ICounterSvc.h>`

Collaboration diagram for ICounterSvc::Printout:
[legend]

## Public Member Functions
| Printout (ICounterSvc *svc)
| Standard initializing constructor.
| ~Printout ()
| destructor
StatusCode | operator() (MsgStream &log, const Counter *cnt) const
| Callback for printout with Counter pointers.

## Private Member Functions
| Printout ()
| no defauld constructor
| Printout (const Printout &)
Printout & | operator= (const Printout &)
| no assigment is allowed

## Private Attributes
ICounterSvc * | m_svc
| Reference to counter service.

## Detailed Description

Print counters for each element in the range [first, last) e.g.

for_each(start, end, PrintCube) ;

Author
  Markus Frank

Version
  1.0

Definition at line 111 of file ICounterSvc.h.

## Constructor & Destructor Documentation

ICounterSvc::Printout::Printout | ( | ICounterSvc * | svc | ) |

Standard initializing constructor.

Definition at line 40 of file ICounterSvc.cpp.

: m_svc(svc)
{ if ( 0 != m_svc ) { m_svc->addRef() ; } }

ICounterSvc::Printout::~Printout | ( |  | ) |

destructor

Definition at line 46 of file ICounterSvc.cpp.

{ if ( 0 != m_svc ) { m_svc->release() ; m_svc = 0 ; } }

ICounterSvc::Printout::Printout | ( |  | ) |
| private

no defauld constructor

ICounterSvc::Printout::Printout | ( | const Printout & |  | ) |
| private

## Member Function Documentation

StatusCode ICounterSvc::Printout::operator() | ( | MsgStream & | log,
|  | const Counter * | cnt
| ) |  | const

Callback for printout with Counter pointers.

Definition at line 35 of file ICounterSvc.cpp.

{ return m_svc ? m_svc->defaultPrintout(log, cnt) : StatusCode::FAILURE ; }

Printout& ICounterSvc::Printout::operator= | ( | const Printout & |  | ) |
| private

no assigment is allowed

## Member Data Documentation

ICounterSvc* ICounterSvc::Printout::m_svc
| private

Reference to counter service.

Definition at line 129 of file ICounterSvc.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/ICounterSvc.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/src/Lib/ICounterSvc.cpp