GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <c.andreopoulos cern.ch> University of Liverpool
Created:
May 03, 2004
License:
Copyright (c) 2003-2024, 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.

References genie::kAlgFail, genie::kAlgSuccess, and genie::kAlgUndefinedStatus.

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: