The Gaudi Framework  v36r7 (7f57a304)
Stat.cpp File Reference
#include "GaudiKernel/Stat.h"
#include "GaudiKernel/IStatSvc.h"
#include "GaudiKernel/StatEntity.h"
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <sstream>
Include dependency graph for Stat.cpp:

Go to the source code of this file.

Functions

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

Detailed Description

Implementation file for class Stat

Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2005-08-02
2007-07-08

Definition in file Stat.cpp.

Function Documentation

◆ operator+() [1/3]

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

external operator for addition of Stat and a number

Definition at line 125 of file Stat.cpp.

125  {
126  Stat s( stat );
127  s += value;
128  return s;
129 }

◆ operator+() [2/3]

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

external operator for addition of Stat and a number

Definition at line 109 of file Stat.cpp.

109  {
110  Stat s( stat );
111  s += value;
112  return s;
113 }

◆ operator+() [3/3]

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

external operator for addition of Stat and Stat

Definition at line 132 of file Stat.cpp.

132  {
133  Stat s( stat );
134  s += value;
135  return s;
136 }

◆ operator-()

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

external operator for subtraction of Stat and a number

Definition at line 117 of file Stat.cpp.

117  {
118  Stat s( stat );
119  s -= value;
120  return s;
121 }

◆ operator<<()

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

external printout operator to std::ostream

Definition at line 139 of file Stat.cpp.

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