Go to the documentation of this file.
14 #include <fmt/format.h>
15 #include <fmt/ostream.h>
26 struct fmt::formatter<
StatEntity> : fmt::ostream_formatter {};
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Stat operator+(const Stat &stat, const double value)
external operator for addition of Stat and a number
std::ostream & operator<<(std::ostream &stream, const Stat &stat)
external printout operator to std::ostream
backward compatible StatEntity class.
const StatEntity * entity() const
get the entity
SmartIF< IStatSvc > m_stat
Stat service.
std::string m_tag
unique stat tag(name)
StatEntity * m_entity
underlying counter
Stat operator-(const Stat &stat, const double value)
external operator for subtraction of Stat and a number
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Stat(StatEntity *entity=0, const std::string &name="", const std::string &group="")
constructor from StatEntity, name and group :
friend void reset(StatEntity &s)
std::string toString() const
representation as string