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