The Gaudi Framework  master (d98a2936)
Stat.h File Reference
#include <GaudiKernel/IStatSvc.h>
#include <GaudiKernel/SmartIF.h>
#include <GaudiKernel/StatEntity.h>
#include <iostream>
#include <string>
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
 

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::ostream & operator<< (std::ostream &stream, const Stat &stat)
 external printout operator to std::ostream More...
 

Function Documentation

◆ operator+() [1/3]

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

external operator for addition of Stat and a number

Definition at line 81 of file Stat.cpp.

81  {
82  Stat s( stat );
83  s += value;
84  return s;
85 }

◆ operator+() [2/3]

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

external operator for addition of Stat and a number

Definition at line 69 of file Stat.cpp.

69  {
70  Stat s( stat );
71  s += value;
72  return s;
73 }

◆ operator+() [3/3]

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

external operator for addition of Stat and Stat

Definition at line 87 of file Stat.cpp.

87  {
88  Stat s( stat );
89  s += value;
90  return s;
91 }

◆ operator-()

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

external operator for subtraction of Stat and a number

Definition at line 75 of file Stat.cpp.

75  {
76  Stat s( stat );
77  s -= value;
78  return s;
79 }

◆ operator<<()

GAUDI_API std::ostream& operator<< ( std::ostream &  stream,
const Stat stat 
)

external printout operator to std::ostream

Definition at line 93 of file Stat.cpp.

93 { return stat.print( stream ); }
Stat::print
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Definition: Stat.cpp:56
Write.stream
stream
Definition: Write.py:32
gaudirun.s
string s
Definition: gaudirun.py:346
Stat
Definition: Stat.h:48