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

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

#include "/cvmfs/"

Static Public Member Functions

static const char * AsString (AlgCmp_t alg)

Detailed Description

Encapsulates an enumeration of possible algorithm comparisons.

Costas Andreopoulos <costas.andreopoulos> 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 or see $GENIE/LICENSE

Definition at line 38 of file AlgCmp.h.

Member Function Documentation

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

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: