2 #ifndef CCalDataOrigin_H
3 #define CCalDataOrigin_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace CalDataOriginMod
59 const char *
const revision =
"-1";
60 const int version = 1;
83 typedef CalDataOrigin &CalDataOrigin_out;
87 namespace CalDataOriginMod {
105 static const std::string&
sWVR;
119 static const std::string&
sNONE;
141 static unsigned int size() ;
149 static std::string
name(
const CalDataOriginMod::CalDataOrigin&
e);
154 static std::string
toString(
const CalDataOriginMod::CalDataOrigin& f) {
return name(f); }
161 static const std::vector<std::string>
names();
172 static CalDataOriginMod::CalDataOrigin
literal(
const std::string&
name);
179 static CalDataOriginMod::CalDataOrigin
from_int(
unsigned int i);
189 static std::string
badInt(
unsigned int i) ;
static const std::string & sFULL_RESOLUTION_AUTO
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static CalDataOriginMod::CalDataOrigin from_int(unsigned int i)
static std::string toString(const CalDataOriginMod::CalDataOrigin &f)
Equivalent to the name method.
static const std::string & sOPTICAL_POINTING
static const std::string & sFULL_RESOLUTION_CROSS
static const std::string & sCHANNEL_AVERAGE_CROSS
static std::string badString(const std::string &name)
static unsigned int size()
Return the number of enumerators declared in CalDataOriginMod::CalDataOrigin.
static int version()
Return the major version number as an int.
std::istream & operator>>(std::istream &in, CalDataOrigin &value)
static std::string revision()
Return the revision as a string.
static const std::string & sHOLOGRAPHY
std::ostream & operator<<(std::ostream &out, const CalDataOrigin &value)
static const std::string & sWVR
A helper class for the enumeration CalDataOrigin.
CCalDataOrigin & operator=(const CCalDataOrigin &)
static const std::string & sCHANNEL_AVERAGE_AUTO
static const std::string & sNONE
const Double e
e and functions thereof:
static CalDataOriginMod::CalDataOrigin literal(const std::string &name)
static std::string name(const CalDataOriginMod::CalDataOrigin &e)
Returns an enumerator as a string.
static CalDataOriginMod::CalDataOrigin newCalDataOrigin(const std::string &name)
Create a CalDataOrigin enumeration object by specifying its name.
static const std::string & sTOTAL_POWER
Enumerators as strings.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static std::string badInt(unsigned int i)