2 #ifndef CSchedulerMode_H
3 #define CSchedulerMode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace SchedulerModeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
73 typedef SchedulerMode &SchedulerMode_out;
77 namespace SchedulerModeMod {
97 static const std::string&
sMANUAL;
99 static const std::string&
sQUEUED;
121 static unsigned int size() ;
129 static std::string
name(
const SchedulerModeMod::SchedulerMode&
e);
134 static std::string
toString(
const SchedulerModeMod::SchedulerMode& f) {
return name(f); }
141 static const std::vector<std::string>
names();
152 static SchedulerModeMod::SchedulerMode
literal(
const std::string&
name);
159 static SchedulerModeMod::SchedulerMode
from_int(
unsigned int i);
169 static std::string
badInt(
unsigned int i) ;
static std::string badInt(unsigned int i)
A helper class for the enumeration SchedulerMode.
static std::string name(const SchedulerModeMod::SchedulerMode &e)
Returns an enumerator as a string.
static int version()
Return the major version number as an int.
CSchedulerMode & operator=(const CSchedulerMode &)
static std::string toString(const SchedulerModeMod::SchedulerMode &f)
Equivalent to the name method.
static const std::string & sINTERACTIVE
static SchedulerModeMod::SchedulerMode newSchedulerMode(const std::string &name)
Create a SchedulerMode enumeration object by specifying its name.
static const std::string & sDYNAMIC
Enumerators as strings.
static const std::string & sMANUAL
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
std::ostream & operator<<(std::ostream &out, const SchedulerMode &value)
static SchedulerModeMod::SchedulerMode from_int(unsigned int i)
static unsigned int size()
Return the number of enumerators declared in SchedulerModeMod::SchedulerMode.
static const std::string & sQUEUED
const Double e
e and functions thereof:
static std::string revision()
Return the revision as a string.
static SchedulerModeMod::SchedulerMode literal(const std::string &name)
std::istream & operator>>(std::istream &in, SchedulerMode &value)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static std::string badString(const std::string &name)