| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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

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

Definition at line 107 of file IAuditor.h.

107 { return s << toStr( e ); }
toStr
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Definition: IAuditor.h:100

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

Simple mapping function from IAuditor::StandardEventType to string.

Definition at line 100 of file IAuditor.h.

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