2 #ifndef CAntennaMotionPattern_H
3 #define CAntennaMotionPattern_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace AntennaMotionPatternMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum AntennaMotionPattern
87 typedef AntennaMotionPattern &AntennaMotionPattern_out;
91 namespace AntennaMotionPatternMod {
93 std::istream &
operator >> ( std::istream & in , AntennaMotionPattern&
value );
107 static const std::string&
sNONE;
111 static const std::string&
sSPIRAL;
113 static const std::string&
sCIRCLE;
121 static const std::string&
sTEST;
125 static const std::string&
sSTAR;
149 static unsigned int size() ;
157 static std::string
name(
const AntennaMotionPatternMod::AntennaMotionPattern&
e);
162 static std::string
toString(
const AntennaMotionPatternMod::AntennaMotionPattern& f) {
return name(f); }
169 static const std::vector<std::string>
names();
180 static AntennaMotionPatternMod::AntennaMotionPattern
literal(
const std::string&
name);
187 static AntennaMotionPatternMod::AntennaMotionPattern
from_int(
unsigned int i);
197 static std::string
badInt(
unsigned int i) ;
static AntennaMotionPatternMod::AntennaMotionPattern newAntennaMotionPattern(const std::string &name)
Create a AntennaMotionPattern enumeration object by specifying its name.
CAntennaMotionPattern & operator=(const CAntennaMotionPattern &)
static const std::string & sCROSS_SCAN
static int version()
Return the major version number as an int.
static AntennaMotionPatternMod::AntennaMotionPattern literal(const std::string &name)
std::ostream & operator<<(std::ostream &out, const AntennaMotionPattern &value)
static const std::string & sFOUR_POINTS
static const std::string & sSTAR
A helper class for the enumeration AntennaMotionPattern.
static std::string badInt(unsigned int i)
static const std::string & sFIVE_POINTS
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sUNSPECIFIED
static std::string badString(const std::string &name)
static const std::string & sTHREE_POINTS
static const std::string & sLISSAJOUS
static const std::string & sSPIRAL
static unsigned int size()
Return the number of enumerators declared in AntennaMotionPatternMod::AntennaMotionPattern.
static std::string name(const AntennaMotionPatternMod::AntennaMotionPattern &e)
Returns an enumerator as a string.
static const std::string & sCIRCLE
static std::string toString(const AntennaMotionPatternMod::AntennaMotionPattern &f)
Equivalent to the name method.
const Double e
e and functions thereof:
std::istream & operator>>(std::istream &in, AntennaMotionPattern &value)
static const std::string & sTEST
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sNONE
Enumerators as strings.
static std::string revision()
Return the revision as a string.
static AntennaMotionPatternMod::AntennaMotionPattern from_int(unsigned int i)