2 #ifndef CCorrelationMode_H
3 #define CCorrelationMode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace CorrelationModeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
71 typedef CorrelationMode &CorrelationMode_out;
75 namespace CorrelationModeMod {
117 static unsigned int size() ;
125 static std::string
name(
const CorrelationModeMod::CorrelationMode&
e);
130 static std::string
toString(
const CorrelationModeMod::CorrelationMode& f) {
return name(f); }
137 static const std::vector<std::string>
names();
148 static CorrelationModeMod::CorrelationMode
literal(
const std::string&
name);
155 static CorrelationModeMod::CorrelationMode
from_int(
unsigned int i);
165 static std::string
badInt(
unsigned int i) ;
CCorrelationMode & operator=(const CCorrelationMode &)
static const std::string & sCROSS_ONLY
Enumerators as strings.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static CorrelationModeMod::CorrelationMode from_int(unsigned int i)
static const std::string & sAUTO_ONLY
static CorrelationModeMod::CorrelationMode literal(const std::string &name)
std::ostream & operator<<(std::ostream &out, const CorrelationMode &value)
static std::string toString(const CorrelationModeMod::CorrelationMode &f)
Equivalent to the name method.
static int version()
Return the major version number as an int.
static std::string name(const CorrelationModeMod::CorrelationMode &e)
Returns an enumerator as a string.
static unsigned int size()
Return the number of enumerators declared in CorrelationModeMod::CorrelationMode. ...
static std::string revision()
Return the revision as a string.
static std::string badString(const std::string &name)
static CorrelationModeMod::CorrelationMode newCorrelationMode(const std::string &name)
Create a CorrelationMode enumeration object by specifying its name.
std::istream & operator>>(std::istream &in, CorrelationMode &value)
const Double e
e and functions thereof:
static std::string badInt(unsigned int i)
A helper class for the enumeration CorrelationMode.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sCROSS_AND_AUTO