All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IAuditor.h File Reference
#include "GaudiKernel/INamedInterface.h"
#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 121 of file IAuditor.h.

121  {
122  return s << toStr(e);
123 }
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Definition: IAuditor.h:106
string s
Definition: gaudirun.py:210
const char* toStr ( IAuditor::StandardEventType  e)
inline

Simple mapping function from IAuditor::StandardEventType to string.

Definition at line 106 of file IAuditor.h.

106  {
107  switch (e) {
108  case IAuditor::Initialize : return "Initialize";
109  case IAuditor::ReInitialize : return "ReInitialize";
110  case IAuditor::Execute : return "Execute";
111  case IAuditor::BeginRun : return "BeginRun";
112  case IAuditor::EndRun : return "EndRun";
113  case IAuditor::Finalize : return "Finalize";
114  case IAuditor::Start : return "Start";
115  case IAuditor::Stop : return "Stop";
116  case IAuditor::ReStart : return "ReStart";
117  }
118  return NULL; // cannot be reached, but make the compiler happy
119 }