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