The Gaudi Framework  v30r3 (a5ef0a68)
Stat.h File Reference
#include <iostream>
#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 118 of file Stat.cpp.

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

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

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

128 {
129  Stat s( stat );
130  s -= value;
131  return s;
132 }
Small wrapper class for easy manipulation with generic counters and IStatSvc 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

Definition at line 152 of file Stat.cpp.

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