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

#include <RegistryItemTypeId.h>

Static Public Member Functions

static string AsString (RgType_t rt)
 

Detailed Description

Definition at line 41 of file RegistryItemTypeId.h.

Member Function Documentation

static string genie::RgType::AsString ( RgType_t  rt)
inlinestatic

Definition at line 44 of file RegistryItemTypeId.h.

References genie::kRgAlg, genie::kRgBool, genie::kRgDbl, genie::kRgH1F, genie::kRgH2F, genie::kRgInt, genie::kRgStr, genie::kRgTree, and genie::kRgUndefined.

Referenced by genie::Registry::Append(), genie::Registry::CloneRegistryItem(), genie::Registry::CopyToFolder(), main(), genie::Registry::Merge(), and genie::Registry::Print().

45  {
46  switch (rt) {
47  case (kRgUndefined) : return "undefined"; break;
48  case (kRgBool) : return "bool"; break;
49  case (kRgInt) : return "int"; break;
50  case (kRgDbl) : return "double"; break;
51  case (kRgStr) : return "string"; break;
52  case (kRgAlg) : return "alg"; break;
53  case (kRgH1F) : return "h1f"; break;
54  case (kRgH2F) : return "h2f"; break;
55  case (kRgTree) : return "tree"; break;
56  default : return "undefined";
57  }
58  }

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