2 #ifndef CPositionReferenceCode_H
3 #define CPositionReferenceCode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace PositionReferenceCodeMod
60 const char *
const revision =
"-1";
61 const int version = 1;
63 enum PositionReferenceCode
78 typedef PositionReferenceCode &PositionReferenceCode_out;
82 namespace PositionReferenceCodeMod {
84 std::istream &
operator >> ( std::istream & in , PositionReferenceCode&
value );
98 static const std::string&
sITRF;
100 static const std::string&
sWGS84;
102 static const std::string&
sSITE;
106 static const std::string&
sYOKE;
130 static unsigned int size() ;
138 static std::string
name(
const PositionReferenceCodeMod::PositionReferenceCode&
e);
143 static std::string
toString(
const PositionReferenceCodeMod::PositionReferenceCode& f) {
return name(f); }
150 static const std::vector<std::string>
names();
161 static PositionReferenceCodeMod::PositionReferenceCode
literal(
const std::string&
name);
168 static PositionReferenceCodeMod::PositionReferenceCode
from_int(
unsigned int i);
178 static std::string
badInt(
unsigned int i) ;
static const std::string & sSITE
static std::string revision()
Return the revision as a string.
static PositionReferenceCodeMod::PositionReferenceCode literal(const std::string &name)
static int version()
Return the major version number as an int.
std::ostream & operator<<(std::ostream &out, const PositionReferenceCode &value)
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sYOKE
static PositionReferenceCodeMod::PositionReferenceCode from_int(unsigned int i)
static const std::string & sREFLECTOR
std::istream & operator>>(std::istream &in, PositionReferenceCode &value)
CPositionReferenceCode & operator=(const CPositionReferenceCode &)
static unsigned int size()
Return the number of enumerators declared in PositionReferenceCodeMod::PositionReferenceCode.
static std::string badString(const std::string &name)
static std::string badInt(unsigned int i)
static std::string name(const PositionReferenceCodeMod::PositionReferenceCode &e)
Returns an enumerator as a string.
const Double e
e and functions thereof:
static std::string toString(const PositionReferenceCodeMod::PositionReferenceCode &f)
Equivalent to the name method.
static PositionReferenceCodeMod::PositionReferenceCode newPositionReferenceCode(const std::string &name)
Create a PositionReferenceCode enumeration object by specifying its name.
static const std::string & sSTATION
A helper class for the enumeration PositionReferenceCode.
static const std::string & sITRF
Enumerators as strings.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sWGS84