11 #include "GaudiKernel/IStatSvc.h"
12 #include "GaudiKernel/ICounterSvc.h"
13 #include "GaudiKernel/Stat.h"
14 #include "GaudiKernel/StatEntity.h"
18 #include "boost/format.hpp"
45 const std::string& tag )
87 const std::string& tag ,
98 m_stat -> stat( tag , flag ) ;
113 const std::string& group ,
114 const std::string& name )
134 : m_entity ( right.m_entity )
135 , m_tag ( right.m_tag )
136 , m_group ( right.m_group )
137 , m_stat ( right.m_stat )
138 , m_counter ( right.m_counter )
148 if (
this == &right ) {
return *this ; }
154 if ( 0 != stat ) { stat -> addRef() ; }
160 if ( 0 != counter ) { counter -> addRef() ; }
180 std::ostringstream ost ;
202 return o <<
boost::format(
" %|1$15s|::%|2$-15s| %|32t|%NULL%")
212 % (
"\"" +
m_tag +
"\"" ) ;
236 {
return stat.
print( stream ) ; }