The Gaudi Framework  v30r2 (9eca68f7)
Stat.h File Reference
#include <string>
#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 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 119 of file Stat.cpp.

120 {
121  Stat s( stat );
122  s += value;
123  return s;
124 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:45
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 137 of file Stat.cpp.

138 {
139  Stat s( stat );
140  s += value;
141  return s;
142 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:45
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 145 of file Stat.cpp.

146 {
147  Stat s( stat );
148  s += value;
149  return s;
150 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:45
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 128 of file Stat.cpp.

129 {
130  Stat s( stat );
131  s -= value;
132  return s;
133 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:45
string s
Definition: gaudirun.py:253
GAUDI_API std::ostream& operator<< ( std::ostream stream,
const Stat stat 
)

external printout operator to std::ostream

Definition at line 153 of file Stat.cpp.

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