2 #ifndef CSubscanIntent_H
3 #define CSubscanIntent_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace SubscanIntentMod
59 const char *
const revision =
"-1";
60 const int version = 1;
87 typedef SubscanIntent &SubscanIntent_out;
91 namespace SubscanIntentMod {
111 static const std::string&
sMIXED;
117 static const std::string&
sHOT;
121 static const std::string&
sSIGNAL;
123 static const std::string&
sIMAGE;
125 static const std::string&
sTEST;
149 static unsigned int size() ;
157 static std::string
name(
const SubscanIntentMod::SubscanIntent&
e);
162 static std::string
toString(
const SubscanIntentMod::SubscanIntent& f) {
return name(f); }
169 static const std::vector<std::string>
names();
180 static SubscanIntentMod::SubscanIntent
literal(
const std::string&
name);
187 static SubscanIntentMod::SubscanIntent
from_int(
unsigned int i);
197 static std::string
badInt(
unsigned int i) ;
static const std::string & sREFERENCE
static int version()
Return the major version number as an int.
static SubscanIntentMod::SubscanIntent from_int(unsigned int i)
CSubscanIntent & operator=(const CSubscanIntent &)
std::ostream & operator<<(std::ostream &out, const SubscanIntent &value)
static std::string badInt(unsigned int i)
static const std::string & sSCANNING
std::istream & operator>>(std::istream &in, SubscanIntent &value)
A helper class for the enumeration SubscanIntent.
static const std::string & sIMAGE
static std::string badString(const std::string &name)
static SubscanIntentMod::SubscanIntent newSubscanIntent(const std::string &name)
Create a SubscanIntent enumeration object by specifying its name.
static const std::string & sOFF_SOURCE
static std::string name(const SubscanIntentMod::SubscanIntent &e)
Returns an enumerator as a string.
static std::string revision()
Return the revision as a string.
static unsigned int size()
Return the number of enumerators declared in SubscanIntentMod::SubscanIntent.
static const std::string & sTEST
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static std::string toString(const SubscanIntentMod::SubscanIntent &f)
Equivalent to the name method.
static const std::string & sMIXED
const Double e
e and functions thereof:
static SubscanIntentMod::SubscanIntent literal(const std::string &name)
static const std::string & sHOT
static const std::string & sON_SOURCE
Enumerators as strings.
static const std::string & sAMBIENT
static const std::string & sSIGNAL
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sUNSPECIFIED