2 #ifndef CDifferenceType_H
3 #define CDifferenceType_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace DifferenceTypeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
73 typedef DifferenceType &DifferenceType_out;
77 namespace DifferenceTypeMod {
97 static const std::string&
sRAPID;
99 static const std::string&
sFINAL;
121 static unsigned int size() ;
129 static std::string
name(
const DifferenceTypeMod::DifferenceType&
e);
134 static std::string
toString(
const DifferenceTypeMod::DifferenceType& f) {
return name(f); }
141 static const std::vector<std::string>
names();
152 static DifferenceTypeMod::DifferenceType
literal(
const std::string&
name);
159 static DifferenceTypeMod::DifferenceType
from_int(
unsigned int i);
169 static std::string
badInt(
unsigned int i) ;
std::ostream & operator<<(std::ostream &out, const DifferenceType &value)
static const std::string & sPREDICTED
Enumerators as strings.
static DifferenceTypeMod::DifferenceType from_int(unsigned int i)
static DifferenceTypeMod::DifferenceType literal(const std::string &name)
std::istream & operator>>(std::istream &in, DifferenceType &value)
A helper class for the enumeration DifferenceType.
static std::string badString(const std::string &name)
static const std::string & sFINAL
CDifferenceType & operator=(const CDifferenceType &)
static const std::string & sPRELIMINARY
static unsigned int size()
Return the number of enumerators declared in DifferenceTypeMod::DifferenceType.
static DifferenceTypeMod::DifferenceType newDifferenceType(const std::string &name)
Create a DifferenceType enumeration object by specifying its name.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
const Double e
e and functions thereof:
static std::string badInt(unsigned int i)
static std::string revision()
Return the revision as a string.
static const std::string & sRAPID
static std::string name(const DifferenceTypeMod::DifferenceType &e)
Returns an enumerator as a string.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static std::string toString(const DifferenceTypeMod::DifferenceType &f)
Equivalent to the name method.
static int version()
Return the major version number as an int.