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