2 #ifndef CFluxCalibrationMethod_H
3 #define CFluxCalibrationMethod_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace FluxCalibrationMethodMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum FluxCalibrationMethod
71 typedef FluxCalibrationMethod &FluxCalibrationMethod_out;
75 namespace FluxCalibrationMethodMod {
77 std::istream &
operator >> ( std::istream & in , FluxCalibrationMethod&
value );
117 static unsigned int size() ;
125 static std::string
name(
const FluxCalibrationMethodMod::FluxCalibrationMethod&
e);
130 static std::string
toString(
const FluxCalibrationMethodMod::FluxCalibrationMethod& f) {
return name(f); }
137 static const std::vector<std::string>
names();
148 static FluxCalibrationMethodMod::FluxCalibrationMethod
literal(
const std::string&
name);
155 static FluxCalibrationMethodMod::FluxCalibrationMethod
from_int(
unsigned int i);
165 static std::string
badInt(
unsigned int i) ;
A helper class for the enumeration FluxCalibrationMethod.
static const std::string & sEFFICIENCY
std::istream & operator>>(std::istream &in, FluxCalibrationMethod &value)
static unsigned int size()
Return the number of enumerators declared in FluxCalibrationMethodMod::FluxCalibrationMethod.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static std::string name(const FluxCalibrationMethodMod::FluxCalibrationMethod &e)
Returns an enumerator as a string.
static FluxCalibrationMethodMod::FluxCalibrationMethod literal(const std::string &name)
static std::string revision()
Return the revision as a string.
static const std::string & sABSOLUTE
Enumerators as strings.
static std::string toString(const FluxCalibrationMethodMod::FluxCalibrationMethod &f)
Equivalent to the name method.
CFluxCalibrationMethod & operator=(const CFluxCalibrationMethod &)
static const std::string & sRELATIVE
static FluxCalibrationMethodMod::FluxCalibrationMethod newFluxCalibrationMethod(const std::string &name)
Create a FluxCalibrationMethod enumeration object by specifying its name.
static std::string badInt(unsigned int i)
const Double e
e and functions thereof:
static FluxCalibrationMethodMod::FluxCalibrationMethod from_int(unsigned int i)
static std::string badString(const std::string &name)
std::ostream & operator<<(std::ostream &out, const FluxCalibrationMethod &value)
static int version()
Return the major version number as an int.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.