2 #ifndef CCalibrationDevice_H
3 #define CCalibrationDevice_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace CalibrationDeviceMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum CalibrationDevice
79 typedef CalibrationDevice &CalibrationDevice_out;
83 namespace CalibrationDeviceMod {
111 static const std::string&
sNONE;
133 static unsigned int size() ;
141 static std::string
name(
const CalibrationDeviceMod::CalibrationDevice&
e);
146 static std::string
toString(
const CalibrationDeviceMod::CalibrationDevice& f) {
return name(f); }
153 static const std::vector<std::string>
names();
164 static CalibrationDeviceMod::CalibrationDevice
literal(
const std::string&
name);
171 static CalibrationDeviceMod::CalibrationDevice
from_int(
unsigned int i);
181 static std::string
badInt(
unsigned int i) ;
static const std::string & sQUARTER_WAVE_PLATE
static std::string name(const CalibrationDeviceMod::CalibrationDevice &e)
Returns an enumerator as a string.
static CalibrationDeviceMod::CalibrationDevice newCalibrationDevice(const std::string &name)
Create a CalibrationDevice enumeration object by specifying its name.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
std::ostream & operator<<(std::ostream &out, const CalibrationDevice &value)
static std::string revision()
Return the revision as a string.
static unsigned int size()
Return the number of enumerators declared in CalibrationDeviceMod::CalibrationDevice.
std::istream & operator>>(std::istream &in, CalibrationDevice &value)
static const std::string & sSOLAR_FILTER
static CalibrationDeviceMod::CalibrationDevice literal(const std::string &name)
static const std::string & sHOT_LOAD
static const std::string & sNONE
static std::string toString(const CalibrationDeviceMod::CalibrationDevice &f)
Equivalent to the name method.
static std::string badInt(unsigned int i)
A helper class for the enumeration CalibrationDevice.
static const std::string & sCOLD_LOAD
CCalibrationDevice & operator=(const CCalibrationDevice &)
const Double e
e and functions thereof:
static const std::string & sNOISE_TUBE_LOAD
static int version()
Return the major version number as an int.
static std::string badString(const std::string &name)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sAMBIENT_LOAD
Enumerators as strings.
static CalibrationDeviceMod::CalibrationDevice from_int(unsigned int i)