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