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