2 #ifndef CPointingMethod_H
3 #define CPointingMethod_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace PointingMethodMod
59 const char *
const revision =
"-1";
60 const int version = 1;
77 typedef PointingMethod &PointingMethod_out;
81 namespace PointingMethodMod {
103 static const std::string&
sCROSS;
105 static const std::string&
sCIRCLE;
129 static unsigned int size() ;
137 static std::string
name(
const PointingMethodMod::PointingMethod&
e);
142 static std::string
toString(
const PointingMethodMod::PointingMethod& f) {
return name(f); }
149 static const std::vector<std::string>
names();
160 static PointingMethodMod::PointingMethod
literal(
const std::string&
name);
167 static PointingMethodMod::PointingMethod
from_int(
unsigned int i);
177 static std::string
badInt(
unsigned int i) ;
std::istream & operator>>(std::istream &in, PointingMethod &value)
std::ostream & operator<<(std::ostream &out, const PointingMethod &value)
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static PointingMethodMod::PointingMethod literal(const std::string &name)
static unsigned int size()
Return the number of enumerators declared in PointingMethodMod::PointingMethod.
static PointingMethodMod::PointingMethod from_int(unsigned int i)
static const std::string & sFIVE_POINT
static const std::string & sFOUR_POINT
static const std::string & sCROSS
static int version()
Return the major version number as an int.
static std::string revision()
Return the revision as a string.
A helper class for the enumeration PointingMethod.
CPointingMethod & operator=(const CPointingMethod &)
static const std::string & sCIRCLE
static std::string toString(const PointingMethodMod::PointingMethod &f)
Equivalent to the name method.
static PointingMethodMod::PointingMethod newPointingMethod(const std::string &name)
Create a PointingMethod enumeration object by specifying its name.
const Double e
e and functions thereof:
static std::string name(const PointingMethodMod::PointingMethod &e)
Returns an enumerator as a string.
static std::string badString(const std::string &name)
static const std::string & sHOLOGRAPHY
static const std::string & sTHREE_POINT
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)