40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
59 const char *
const revision =
"-1";
60 const int version = 1;
101 typedef CalType &CalType_out;
105 namespace CalTypeMod {
177 static unsigned int size() ;
185 static std::string
name(
const CalTypeMod::CalType&
e);
190 static std::string
toString(
const CalTypeMod::CalType& f) {
return name(f); }
197 static const std::vector<std::string>
names();
208 static CalTypeMod::CalType
literal(
const std::string&
name);
215 static CalTypeMod::CalType
from_int(
unsigned int i);
225 static std::string
badInt(
unsigned int i) ;
A helper class for the enumeration CalType.
static const std::string & sCAL_FLUX
static const std::string & sCAL_FOCUS
static const std::string & sCAL_FOCUS_MODEL
CCalType & operator=(const CCalType &)
static const std::string & sCAL_AMPLI
Enumerators as strings.
static const std::string & sCAL_PHASE
static const std::string & sCAL_CURVE
static std::string badString(const std::string &name)
std::istream & operator>>(std::istream &in, CalType &value)
static std::string toString(const CalTypeMod::CalType &f)
Equivalent to the name method.
static std::string name(const CalTypeMod::CalType &e)
Returns an enumerator as a string.
static const std::string & sCAL_DELAY
static const std::string & sCAL_GAIN
static const std::string & sCAL_HOLOGRAPHY
static std::string revision()
Return the revision as a string.
std::ostream & operator<<(std::ostream &out, const CalType &value)
static CalTypeMod::CalType literal(const std::string &name)
static const std::string & sCAL_ATMOSPHERE
static const std::string & sCAL_BANDPASS
static const std::string & sCAL_POINTING
static CalTypeMod::CalType from_int(unsigned int i)
static std::string badInt(unsigned int i)
static const std::string & sCAL_POINTING_MODEL
static const std::string & sCAL_WVR
static int version()
Return the major version number as an int.
static const std::string & sCAL_PRIMARY_BEAM
static const std::string & sCAL_POSITION
const Double e
e and functions thereof:
static CalTypeMod::CalType newCalType(const std::string &name)
Create a CalType enumeration object by specifying its name.
static const std::string & sCAL_APPPHASE
static unsigned int size()
Return the number of enumerators declared in CalTypeMod::CalType.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sCAL_SEEING