![]() |
The Gaudi Framework
v32r2 (46d42edc)
|
An empty ancester of all counters that knows how to print themselves. More...
#include <GaudiKernel/Counters.h>
Public Member Functions | |
PrintableCounter ()=default | |
template<class OWNER > | |
PrintableCounter (OWNER *o, const std::string &tag) | |
virtual | ~PrintableCounter ()=default |
destructor More... | |
template<typename stream > | |
stream & | printImpl (stream &s, const std::string &tag) const |
virtual std::ostream & | print (std::ostream &, bool tableFormat=false) const =0 |
prints the counter to a stream More... | |
virtual MsgStream & | print (MsgStream &, bool tableFormat=true) const =0 |
virtual std::ostream & | print (std::ostream &o, const std::string &tag) const |
prints the counter to a stream in table format, with the given tag More... | |
virtual MsgStream & | print (MsgStream &o, const std::string &tag) const |
virtual bool | toBePrinted () const |
hint whether we should print that counter or not. More... | |
std::string | toString () const |
get a string representation More... | |
An empty ancester of all counters that knows how to print themselves.
Definition at line 601 of file Counters.h.
|
default |
|
inline |
Definition at line 604 of file Counters.h.
|
virtualdefault |
destructor
|
pure virtual |
prints the counter to a stream
Implemented in Gaudi::StatEntity, Gaudi::Accumulators::details::MsgCounter< level, Atomicity >, Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Unit >, Gaudi::Accumulators::SigmaCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::AveragingCounter< Arithmetic, Atomicity >, and Gaudi::Accumulators::Counter< Arithmetic, Atomicity >.
|
pure virtual |
Implemented in Gaudi::StatEntity, Gaudi::Accumulators::details::MsgCounter< level, Atomicity >, Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Unit >, Gaudi::Accumulators::SigmaCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::AveragingCounter< Arithmetic, Atomicity >, and Gaudi::Accumulators::Counter< Arithmetic, Atomicity >.
|
inlinevirtual |
prints the counter to a stream in table format, with the given tag
Reimplemented in Gaudi::StatEntity, and Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >.
Definition at line 619 of file Counters.h.
|
inlinevirtual |
Reimplemented in Gaudi::StatEntity, and Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >.
Definition at line 620 of file Counters.h.
|
inline |
Definition at line 611 of file Counters.h.
|
inlinevirtual |
hint whether we should print that counter or not.
Typically empty counters may not be printed
Reimplemented in Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Unit >, Gaudi::Accumulators::SigmaCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::AveragingCounter< Arithmetic, Atomicity >, and Gaudi::Accumulators::Counter< Arithmetic, Atomicity >.
Definition at line 623 of file Counters.h.
|
inline |
get a string representation
Definition at line 625 of file Counters.h.