| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Functions

# Stat.cpp File Reference

Implementation file for class Stat. More...

`#include <sstream>`
`#include "GaudiKernel/IStatSvc.h"`
`#include "GaudiKernel/ICounterSvc.h"`
`#include "GaudiKernel/Stat.h"`
`#include "GaudiKernel/StatEntity.h"`
`#include "boost/format.hpp"`
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
Stat | operator- (const Stat &stat, const double value)
| external operator for subtraction of Stat and a number
Stat | operator+ (const double value, const Stat &stat)
| external operator for addition of Stat and a number
Stat | operator+ (const Stat &stat, const Stat &value)
| external operator for addition of Stat and Stat
std::ostream & | operator<< (std::ostream &stream, const Stat &stat)
| output operator for the counter object

## Detailed Description

Implementation file for class Stat.

Author:
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2005-08-02
  2007-07-08

Definition in file Stat.cpp.

## Function Documentation

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

external operator for addition of Stat and a number

Definition at line 217 of file Stat.cpp.

    { Stat s( stat ) ; s += value ; return s ; }

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

external operator for addition of Stat and Stat

Definition at line 231 of file Stat.cpp.

    { Stat s( stat ) ; s += value ; return s ; }

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

external operator for addition of Stat and a number

Definition at line 227 of file Stat.cpp.

    { Stat s( stat ) ; s += value ; return s ; }

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

external operator for subtraction of Stat and a number

Definition at line 222 of file Stat.cpp.

    { Stat s( stat ) ; s -= value ; return s ; }

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

output operator for the counter object

external printout operator to std::ostream

Definition at line 235 of file Stat.cpp.

    { return stat.print( stream ) ; }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines