The Gaudi Framework  v29r0 (ff2e7097)
Stat.h File Reference
#include <string>
#include "GaudiKernel/ICounterSvc.h"
#include "GaudiKernel/IStatSvc.h"
#include "GaudiKernel/SmartIF.h"
#include "GaudiKernel/StatEntity.h"
Include dependency graph for Stat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Stat
 Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface. More...
 

Functions

GAUDI_API Stat operator+ (const Stat &stat, const double value)
 external operator for addition of Stat and a number More...
 
GAUDI_API Stat operator- (const Stat &stat, const double value)
 external operator for subtraction of Stat and a number More...
 
GAUDI_API Stat operator+ (const double value, const Stat &stat)
 external operator for addition of Stat and a number More...
 
GAUDI_API Stat operator+ (const Stat &stat, const Stat &value)
 external operator for addition of Stat and Stat More...
 
GAUDI_API std::ostreamoperator<< (std::ostream &stream, const Stat &stat)
 external printout operator to std::ostream More...
 

Function Documentation

GAUDI_API Stat operator+ ( const Stat stat,
const double  value 
)

external operator for addition of Stat and a number

Definition at line 141 of file Stat.cpp.

142 {
143  Stat s( stat );
144  s += value;
145  return s;
146 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
string s
Definition: gaudirun.py:253
GAUDI_API Stat operator+ ( const double  value,
const Stat stat 
)

external operator for addition of Stat and a number

Definition at line 159 of file Stat.cpp.

160 {
161  Stat s( stat );
162  s += value;
163  return s;
164 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
string s
Definition: gaudirun.py:253
GAUDI_API Stat operator+ ( const Stat stat,
const Stat value 
)

external operator for addition of Stat and Stat

Definition at line 167 of file Stat.cpp.

168 {
169  Stat s( stat );
170  s += value;
171  return s;
172 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
string s
Definition: gaudirun.py:253
GAUDI_API Stat operator- ( const Stat stat,
const double  value 
)

external operator for subtraction of Stat and a number

Definition at line 150 of file Stat.cpp.

151 {
152  Stat s( stat );
153  s -= value;
154  return s;
155 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
string s
Definition: gaudirun.py:253
GAUDI_API std::ostream& operator<< ( std::ostream stream,
const Stat stat 
)

external printout operator to std::ostream

external printout operator to std::ostream

Definition at line 175 of file Stat.cpp.

175 { return stat.print( stream ); }
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Definition: Stat.cpp:120