40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace FieldCodeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
67 typedef FieldCode &FieldCode_out;
71 namespace FieldCodeMod {
87 static const std::string&
sNONE;
109 static unsigned int size() ;
117 static std::string
name(
const FieldCodeMod::FieldCode&
e);
122 static std::string
toString(
const FieldCodeMod::FieldCode& f) {
return name(f); }
129 static const std::vector<std::string>
names();
140 static FieldCodeMod::FieldCode
literal(
const std::string&
name);
147 static FieldCodeMod::FieldCode
from_int(
unsigned int i);
157 static std::string
badInt(
unsigned int i) ;
static FieldCodeMod::FieldCode newFieldCode(const std::string &name)
Create a FieldCode enumeration object by specifying its name.
static FieldCodeMod::FieldCode from_int(unsigned int i)
static std::string revision()
Return the revision as a string.
CFieldCode & operator=(const CFieldCode &)
static unsigned int size()
Return the number of enumerators declared in FieldCodeMod::FieldCode.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static std::string badString(const std::string &name)
std::ostream & operator<<(std::ostream &out, const FieldCode &value)
static int version()
Return the major version number as an int.
std::istream & operator>>(std::istream &in, FieldCode &value)
const Double e
e and functions thereof:
static std::string toString(const FieldCodeMod::FieldCode &f)
Equivalent to the name method.
A helper class for the enumeration FieldCode.
static std::string badInt(unsigned int i)
static FieldCodeMod::FieldCode literal(const std::string &name)
static const std::string & sNONE
Enumerators as strings.
static std::string name(const FieldCodeMod::FieldCode &e)
Returns an enumerator as a string.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.