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

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

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Framework/Algorithm/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 <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

October 22, 2005

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

Definition at line 38 of file AlgCmp.h.

Member Function Documentation

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

Definition at line 42 of file AlgCmp.h.

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

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

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