2 #ifndef CPointingModelMode_H
3 #define CPointingModelMode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace PointingModelModeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum PointingModelMode
69 typedef PointingModelMode &PointingModelMode_out;
73 namespace PointingModelModeMod {
89 static const std::string&
sRADIO;
113 static unsigned int size() ;
121 static std::string
name(
const PointingModelModeMod::PointingModelMode&
e);
126 static std::string
toString(
const PointingModelModeMod::PointingModelMode& f) {
return name(f); }
133 static const std::vector<std::string>
names();
144 static PointingModelModeMod::PointingModelMode
literal(
const std::string&
name);
151 static PointingModelModeMod::PointingModelMode
from_int(
unsigned int i);
161 static std::string
badInt(
unsigned int i) ;
static PointingModelModeMod::PointingModelMode from_int(unsigned int i)
static std::string name(const PointingModelModeMod::PointingModelMode &e)
Returns an enumerator as a string.
static std::string toString(const PointingModelModeMod::PointingModelMode &f)
Equivalent to the name method.
static int version()
Return the major version number as an int.
static const std::string & sOPTICAL
static std::string badInt(unsigned int i)
A helper class for the enumeration PointingModelMode.
static const std::string & sRADIO
Enumerators as strings.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
std::ostream & operator<<(std::ostream &out, const PointingModelMode &value)
static unsigned int size()
Return the number of enumerators declared in PointingModelModeMod::PointingModelMode.
static std::string badString(const std::string &name)
static PointingModelModeMod::PointingModelMode newPointingModelMode(const std::string &name)
Create a PointingModelMode enumeration object by specifying its name.
const Double e
e and functions thereof:
static std::string revision()
Return the revision as a string.
std::istream & operator>>(std::istream &in, PointingModelMode &value)
static PointingModelModeMod::PointingModelMode literal(const std::string &name)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
CPointingModelMode & operator=(const CPointingModelMode &)