ESyS-Particle  2.3.4
CCounterList Class Reference

#include <Counter.h>

Collaboration diagram for CCounterList:

Public Member Functions

 CCounterList ()
 
virtual ~CCounterList ()
 
CCounterListoperator<< (CCounter &Counter)
 add a counter "Counter" More...
 
CCounterListaddCounter (char *name)
 add a counter of name "name" More...
 
CCountercounter (char *name)
 return the counter "name" More...
 
CCounteroperator() (char *Name)
 return the counter "name" More...
 
ostream & print (ostream &Out)
 method to print out all counters More...
 
CListCountersgetList ()
 

Protected Attributes

CListCounters m_Counters
 

Detailed Description

Provide a list of counters.

Constructor & Destructor Documentation

◆ CCounterList()

CCounterList::CCounterList ( )

◆ ~CCounterList()

CCounterList::~CCounterList ( )
virtual

References List< T >::Clear(), List< T >::First(), List< T >::Get(), List< T >::IsEnd(), and m_Counters.

Here is the call graph for this function:

Member Function Documentation

◆ addCounter()

CCounterList & CCounterList::addCounter ( char *  name)

add a counter of name "name"

References List< T >::Append(), and m_Counters.

Here is the call graph for this function:

◆ counter()

CCounter & CCounterList::counter ( char *  name)

return the counter "name"

References console, Console::Error(), List< T >::First(), List< T >::Get(), CCounter::getName(), List< T >::IsEnd(), m_Counters, and List< T >::Next().

Referenced by operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getList()

CListCounters& CCounterList::getList ( )
inline

References m_Counters.

◆ operator()()

CCounter & CCounterList::operator() ( char *  Name)

return the counter "name"

References counter().

Here is the call graph for this function:

◆ operator<<()

CCounterList & CCounterList::operator<< ( CCounter Counter)

add a counter "Counter"

References List< T >::Append(), CCounter::getName(), and m_Counters.

Here is the call graph for this function:

◆ print()

ostream & CCounterList::print ( ostream &  Out)

method to print out all counters

References List< T >::First(), List< T >::Get(), List< T >::IsEnd(), m_Counters, List< T >::Next(), and CCounter::print().

Referenced by operator<<().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_Counters

CListCounters CCounterList::m_Counters
protected

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