![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
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 619 of file Counters.h.
|
default |
|
inline |
Definition at line 622 of file Counters.h.
|
virtualdefault |
destructor
|
pure virtual |
prints the counter to a stream
Implemented in StatEntity, Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::SigmaCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::AveragingCounter< Arithmetic, Atomicity >, and Gaudi::Accumulators::Counter< Arithmetic, Atomicity >.
|
pure virtual |
Implemented in StatEntity, Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::StatCounter< Arithmetic, Atomicity >, 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 StatEntity, and Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >.
Definition at line 637 of file Counters.h.
|
inlinevirtual |
Reimplemented in StatEntity, and Gaudi::Accumulators::BinomialCounter< Arithmetic, Atomicity >.
Definition at line 638 of file Counters.h.
|
inline |
Definition at line 629 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::StatCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::SigmaCounter< Arithmetic, Atomicity >, Gaudi::Accumulators::AveragingCounter< Arithmetic, Atomicity >, and Gaudi::Accumulators::Counter< Arithmetic, Atomicity >.
Definition at line 641 of file Counters.h.
|
inline |
get a string representation
Definition at line 643 of file Counters.h.