GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
genie::AlgCmp Class Reference

Encapsulates an enumeration of possible algorithm comparisons. More...

#include <AlgCmp.h>

Static Public Member Functions

static const char * AsString (AlgCmp_t alg)
 

Detailed Description

Encapsulates an enumeration of possible algorithm comparisons.

Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
Created:
October 22, 2005
License:
Copyright (c) 2003-2024, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 37 of file AlgCmp.h.

Member Function Documentation

static const char* genie::AlgCmp::AsString ( AlgCmp_t  alg)
inlinestatic

Definition at line 41 of file AlgCmp.h.

References genie::kAlgCmpDiffAlg, genie::kAlgCmpDiffConfig, genie::kAlgCmpIdentical, and genie::kAlgCmpUnknown.

41  {
42  switch (alg) {
43  case kAlgCmpIdentical: return "Algorithm [same], configuration [same]"; break;
44  case kAlgCmpDiffConfig: return "Algorithm [same], configuration [diff]"; break;
45  case kAlgCmpDiffAlg: return "Algorithm [diff]"; break;
46  case kAlgCmpUnknown: return "Undefined algorithm comparison result"; break;
47  default: break;
48  }
49  return " ";
50  }

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