2 #ifndef CDirectionReferenceCode_H
3 #define CDirectionReferenceCode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace DirectionReferenceCodeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum DirectionReferenceCode
129 typedef DirectionReferenceCode &DirectionReferenceCode_out;
133 namespace DirectionReferenceCodeMod {
135 std::istream &
operator >> ( std::istream & in , DirectionReferenceCode&
value );
149 static const std::string&
sJ2000;
151 static const std::string&
sJMEAN;
153 static const std::string&
sJTRUE;
155 static const std::string&
sAPP;
157 static const std::string&
sB1950;
161 static const std::string&
sBMEAN;
163 static const std::string&
sBTRUE;
167 static const std::string&
sHADEC;
169 static const std::string&
sAZELSW;
173 static const std::string&
sAZELNE;
177 static const std::string&
sJNAT;
187 static const std::string&
sITRF;
189 static const std::string&
sTOPO;
191 static const std::string&
sICRS;
195 static const std::string&
sVENUS;
197 static const std::string&
sMARS;
201 static const std::string&
sSATURN;
203 static const std::string&
sURANUS;
207 static const std::string&
sPLUTO;
209 static const std::string&
sSUN;
211 static const std::string&
sMOON;
233 static unsigned int size() ;
241 static std::string
name(
const DirectionReferenceCodeMod::DirectionReferenceCode&
e);
246 static std::string
toString(
const DirectionReferenceCodeMod::DirectionReferenceCode& f) {
return name(f); }
253 static const std::vector<std::string>
names();
264 static DirectionReferenceCodeMod::DirectionReferenceCode
literal(
const std::string&
name);
271 static DirectionReferenceCodeMod::DirectionReferenceCode
from_int(
unsigned int i);
281 static std::string
badInt(
unsigned int i) ;
static const std::string & sMOON
static const std::string & sAZELNE
static const std::string & sJMEAN
std::istream & operator>>(std::istream &in, DirectionReferenceCode &value)
static const std::string & sURANUS
static const std::string & sECLIPTIC
static const std::string & sB1950
static const std::string & sITRF
static const std::string & sMARS
static const std::string & sNEPTUNE
static const std::string & sTOPO
static unsigned int size()
Return the number of enumerators declared in DirectionReferenceCodeMod::DirectionReferenceCode.
static const std::string & sSUN
static const std::string & sBMEAN
static const std::string & sSATURN
static const std::string & sPLUTO
CDirectionReferenceCode & operator=(const CDirectionReferenceCode &)
static const std::string & sVENUS
static const std::string & sJ2000
Enumerators as strings.
static DirectionReferenceCodeMod::DirectionReferenceCode literal(const std::string &name)
static std::string badInt(unsigned int i)
static const std::string & sB1950_VLA
static const std::string & sAZELSW
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sGALACTIC
static std::string toString(const DirectionReferenceCodeMod::DirectionReferenceCode &f)
Equivalent to the name method.
static const std::string & sHADEC
static DirectionReferenceCodeMod::DirectionReferenceCode from_int(unsigned int i)
std::ostream & operator<<(std::ostream &out, const DirectionReferenceCode &value)
static const std::string & sBTRUE
static std::string revision()
Return the revision as a string.
static std::string name(const DirectionReferenceCodeMod::DirectionReferenceCode &e)
Returns an enumerator as a string.
static const std::string & sTECLIPTIC
CDirectionReferenceCode()
static const std::string & sMERCURY
static const std::string & sJNAT
static const std::string & sJTRUE
static const std::string & sAZELSWGEO
static const std::string & sMECLIPTIC
static const std::string & sSUPERGAL
const Double e
e and functions thereof:
static const std::string & sAPP
static const std::string & sJUPITER
static const std::string & sICRS
static DirectionReferenceCodeMod::DirectionReferenceCode newDirectionReferenceCode(const std::string &name)
Create a DirectionReferenceCode enumeration object by specifying its name.
A helper class for the enumeration DirectionReferenceCode.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static std::string badString(const std::string &name)
static int version()
Return the major version number as an int.
static const std::string & sAZELNEGEO