| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions
IAuditor.h File Reference
`#include "GaudiKernel/INamedInterface.h"`
`#include <array>`
`#include <string>`
Include dependency graph for IAuditor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | IAuditor
| The IAuditor is the interface implmented by the AlgAuditor base class. More...

## Functions
const char * | toStr (IAuditor::StandardEventType e)
| Simple mapping function from IAuditor::StandardEventType to string. More...
std::ostream & | operator<< (std::ostream &s, IAuditor::StandardEventType e)

## Function Documentation

## ◆ operator<<()

std::ostream& operator<< | ( | std::ostream & | s,
|  | IAuditor::StandardEventType | e
| ) |  |
| inline

Definition at line 105 of file IAuditor.h.

105 { return s << toStr( e ); }
toStr
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Definition: IAuditor.h:99
gaudirun.s
string s
Definition: gaudirun.py:316

## ◆ toStr()

const char* toStr | ( | IAuditor::StandardEventType | e | ) |
| inline

Simple mapping function from IAuditor::StandardEventType to string.

Definition at line 99 of file IAuditor.h.

99 {
100 static const std::array<const char*, IAuditor::StandardEventType::ReStart + 1> s_tbl = {
101 {"Initialize", "ReInitialize", "Execute", "BeginRun", "EndRun", "Finalize", "Start", "Stop", "ReStart"}};
102 return e <= IAuditor::StandardEventType::ReStart ? s_tbl[e] : nullptr;
103 }
std::array
STL class.