Static Public Member Functions | List of all members
genie::AlgStatus Class Reference

Encapsulates an enumeration of possible algorithm execution states. More...

#include <AlgStatus.h>

Static Public Member Functions

static const char * AsString (AlgStatus_t alg)
 

Detailed Description

Encapsulates an enumeration of possible algorithm execution states.

Author
Costas Andreopoulos <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

May 03, 2004

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 36 of file AlgStatus.h.

Member Function Documentation

static const char* genie::AlgStatus::AsString ( AlgStatus_t  alg)
inlinestatic

Definition at line 40 of file AlgStatus.h.

40  {
41  switch (alg) {
42  case kAlgFail: return "Algorithm failed"; break;
43  case kAlgSuccess: return "Algorithm run successfully"; break;
44  case kAlgUndefinedStatus: return "Undefined alg status"; break;
45  default: break;
46  }
47  return " ";
48  }

The documentation for this class was generated from the following file: