2 #ifndef CAtmPhaseCorrection_H
3 #define CAtmPhaseCorrection_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace AtmPhaseCorrectionMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum AtmPhaseCorrection
69 typedef AtmPhaseCorrection &AtmPhaseCorrection_out;
73 namespace AtmPhaseCorrectionMod {
75 std::istream &
operator >> ( std::istream & in , AtmPhaseCorrection&
value );
113 static unsigned int size() ;
121 static std::string
name(
const AtmPhaseCorrectionMod::AtmPhaseCorrection&
e);
126 static std::string
toString(
const AtmPhaseCorrectionMod::AtmPhaseCorrection& f) {
return name(f); }
133 static const std::vector<std::string>
names();
144 static AtmPhaseCorrectionMod::AtmPhaseCorrection
literal(
const std::string&
name);
151 static AtmPhaseCorrectionMod::AtmPhaseCorrection
from_int(
unsigned int i);
161 static std::string
badInt(
unsigned int i) ;
static AtmPhaseCorrectionMod::AtmPhaseCorrection newAtmPhaseCorrection(const std::string &name)
Create a AtmPhaseCorrection enumeration object by specifying its name.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
CAtmPhaseCorrection & operator=(const CAtmPhaseCorrection &)
std::ostream & operator<<(std::ostream &out, const AtmPhaseCorrection &value)
static std::string badString(const std::string &name)
std::istream & operator>>(std::istream &in, AtmPhaseCorrection &value)
static AtmPhaseCorrectionMod::AtmPhaseCorrection from_int(unsigned int i)
static int version()
Return the major version number as an int.
static unsigned int size()
Return the number of enumerators declared in AtmPhaseCorrectionMod::AtmPhaseCorrection.
A helper class for the enumeration AtmPhaseCorrection.
static const std::string & sAP_CORRECTED
static std::string name(const AtmPhaseCorrectionMod::AtmPhaseCorrection &e)
Returns an enumerator as a string.
static std::string badInt(unsigned int i)
static std::string revision()
Return the revision as a string.
static std::string toString(const AtmPhaseCorrectionMod::AtmPhaseCorrection &f)
Equivalent to the name method.
const Double e
e and functions thereof:
static AtmPhaseCorrectionMod::AtmPhaseCorrection literal(const std::string &name)
static const std::string & sAP_UNCORRECTED
Enumerators as strings.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.