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