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