The Gaudi Framework  v29r0 (ff2e7097)
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::ostreamoperator<< (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 ); }
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 {
103  {"Initialize", "ReInitialize", "Execute", "BeginRun", "EndRun", "Finalize", "Start", "Stop", "ReStart"}};
104  return e <= IAuditor::StandardEventType::ReStart ? s_tbl[e] : nullptr;
105 }
STL class.