2 #ifndef CCalibrationSet_H
3 #define CCalibrationSet_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace CalibrationSetMod
59 const char *
const revision =
"-1";
60 const int version = 1;
81 typedef CalibrationSet &CalibrationSet_out;
85 namespace CalibrationSetMod {
101 static const std::string&
sNONE;
113 static const std::string&
sTEST;
137 static unsigned int size() ;
145 static std::string
name(
const CalibrationSetMod::CalibrationSet&
e);
150 static std::string
toString(
const CalibrationSetMod::CalibrationSet& f) {
return name(f); }
157 static const std::vector<std::string>
names();
168 static CalibrationSetMod::CalibrationSet
literal(
const std::string&
name);
175 static CalibrationSetMod::CalibrationSet
from_int(
unsigned int i);
185 static std::string
badInt(
unsigned int i) ;
static const std::string & sNONE
Enumerators as strings.
static CalibrationSetMod::CalibrationSet from_int(unsigned int i)
static int version()
Return the major version number as an int.
A helper class for the enumeration CalibrationSet.
static std::string badInt(unsigned int i)
static const std::string & sANTENNA_POSITIONS
static std::string revision()
Return the revision as a string.
static std::string toString(const CalibrationSetMod::CalibrationSet &f)
Equivalent to the name method.
static const std::string & sPHASE_CURVE
static CalibrationSetMod::CalibrationSet literal(const std::string &name)
std::istream & operator>>(std::istream &in, CalibrationSet &value)
std::ostream & operator<<(std::ostream &out, const CalibrationSet &value)
static CalibrationSetMod::CalibrationSet newCalibrationSet(const std::string &name)
Create a CalibrationSet enumeration object by specifying its name.
static const std::string & sUNSPECIFIED
static const std::string & sTEST
static std::string name(const CalibrationSetMod::CalibrationSet &e)
Returns an enumerator as a string.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sPOINTING_MODEL
static const std::string & sAMPLI_CURVE
static std::string badString(const std::string &name)
static const std::string & sACCUMULATE
static unsigned int size()
Return the number of enumerators declared in CalibrationSetMod::CalibrationSet.
const Double e
e and functions thereof:
CCalibrationSet & operator=(const CCalibrationSet &)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.