| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Classes | Functions

# Stat.h File Reference

`#include <string>`
`#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&ICounterSvc interface. More...
## Functions
GAUDI_API Stat | operator+ (const Stat &stat, const double value)
| external operator for addition of Stat and a number
GAUDI_API Stat | operator- (const Stat &stat, const double value)
| external operator for subtraction of Stat and a number
GAUDI_API Stat | operator+ (const double value, const Stat &stat)
| external operator for addition of Stat and a number
GAUDI_API Stat | operator+ (const Stat &stat, const Stat &value)
| external operator for addition of Stat and Stat
GAUDI_API std::ostream & | operator<< (std::ostream &stream, const Stat &stat)
| external printout operator to std::ostream

## Function Documentation

GAUDI_API 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 ; }

GAUDI_API 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 ; }

GAUDI_API 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 ; }

GAUDI_API 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 ; }

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

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