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