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