Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 110 of file Stat.cpp.

110  {
111  Stat s( stat );
112  s += value;
113  return s;
114 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:46
string s
Definition: gaudirun.py:312
GAUDI_API Stat operator+ ( const double  value,
const Stat stat 
)

external operator for addition of Stat and a number

Definition at line 126 of file Stat.cpp.

126  {
127  Stat s( stat );
128  s += value;
129  return s;
130 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:46
string s
Definition: gaudirun.py:312
GAUDI_API Stat operator+ ( const Stat stat,
const Stat value 
)

external operator for addition of Stat and Stat

Definition at line 133 of file Stat.cpp.

133  {
134  Stat s( stat );
135  s += value;
136  return s;
137 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:46
string s
Definition: gaudirun.py:312
GAUDI_API Stat operator- ( const Stat stat,
const double  value 
)

external operator for subtraction of Stat and a number

Definition at line 118 of file Stat.cpp.

118  {
119  Stat s( stat );
120  s -= value;
121  return s;
122 }
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:46
string s
Definition: gaudirun.py:312
GAUDI_API std::ostream& operator<< ( std::ostream stream,
const Stat stat 
)

external printout operator to std::ostream

Definition at line 140 of file Stat.cpp.

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