IAuditor.h File Reference
#include "GaudiKernel/INamedInterface.h"
#include <string>
#include <array>
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 114 of file IAuditor.h.

114  {
115  return s << toStr(e);
116 }
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Definition: IAuditor.h:106
const char* toStr ( IAuditor::StandardEventType  e)
inline

Simple mapping function from IAuditor::StandardEventType to string.

Definition at line 106 of file IAuditor.h.

106  {
108  {{ "Initialize", "ReInitialize", "Execute",
109  "BeginRun", "EndRun", "Finalize",
110  "Start", "Stop", "ReStart" }};
111  return e <= IAuditor::StandardEventType::ReStart ? s_tbl[e] : nullptr;
112 }
STL class.