40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace FocusMethodMod
59 const char *
const revision =
"-1";
60 const int version = 1;
71 typedef FocusMethod &FocusMethod_out;
75 namespace FocusMethodMod {
117 static unsigned int size() ;
125 static std::string
name(
const FocusMethodMod::FocusMethod&
e);
130 static std::string
toString(
const FocusMethodMod::FocusMethod& f) {
return name(f); }
137 static const std::vector<std::string>
names();
148 static FocusMethodMod::FocusMethod
literal(
const std::string&
name);
155 static FocusMethodMod::FocusMethod
from_int(
unsigned int i);
165 static std::string
badInt(
unsigned int i) ;
std::ostream & operator<<(std::ostream &out, const FocusMethod &value)
static std::string badString(const std::string &name)
static int version()
Return the major version number as an int.
static std::string badInt(unsigned int i)
static FocusMethodMod::FocusMethod literal(const std::string &name)
static const std::string & sHOLOGRAPHY
static unsigned int size()
Return the number of enumerators declared in FocusMethodMod::FocusMethod.
static const std::string & sFIVE_POINT
A helper class for the enumeration FocusMethod.
std::istream & operator>>(std::istream &in, FocusMethod &value)
static FocusMethodMod::FocusMethod from_int(unsigned int i)
CFocusMethod & operator=(const CFocusMethod &)
static std::string toString(const FocusMethodMod::FocusMethod &f)
Equivalent to the name method.
static std::string revision()
Return the revision as a string.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static FocusMethodMod::FocusMethod newFocusMethod(const std::string &name)
Create a FocusMethod enumeration object by specifying its name.
const Double e
e and functions thereof:
static std::string name(const FocusMethodMod::FocusMethod &e)
Returns an enumerator as a string.
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.