The Gaudi Framework  v36r9p1 (5c15b2bb)
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
 

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

◆ operator<<()

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

Definition at line 101 of file IAuditor.h.

101 { return s << toStr( e ); }

◆ toStr()

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

Simple mapping function from IAuditor::StandardEventType to string.

Definition at line 95 of file IAuditor.h.

95  {
97  { "Initialize", "ReInitialize", "Execute", "Finalize", "Start", "Stop", "ReStart" } };
98  return e <= IAuditor::StandardEventType::ReStart ? s_tbl[e] : nullptr;
99 }
gaudirun.s
string s
Definition: gaudirun.py:346
std::array
STL class.
toStr
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Definition: IAuditor.h:95