GENIEGenerator
Loading...
Searching...
No Matches
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 \at cern.ch> University of Liverpool
Created:\n May 03, 2004
License:\n Copyright (c) 2003-2025, 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

◆ AsString()

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 }
@ kAlgUndefinedStatus
Definition AlgStatus.h:29
@ kAlgSuccess
Definition AlgStatus.h:31
@ kAlgFail
Definition AlgStatus.h:30

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


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