2 #ifndef CRadialVelocityReferenceCode_H
3 #define CRadialVelocityReferenceCode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace RadialVelocityReferenceCodeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum RadialVelocityReferenceCode
77 typedef RadialVelocityReferenceCode &RadialVelocityReferenceCode_out;
81 namespace RadialVelocityReferenceCodeMod {
82 std::ostream &
operator << ( std::ostream & out,
const RadialVelocityReferenceCode&
value);
83 std::istream &
operator >> ( std::istream & in , RadialVelocityReferenceCode&
value );
97 static const std::string&
sLSRD;
99 static const std::string&
sLSRK;
103 static const std::string&
sBARY;
105 static const std::string&
sGEO;
107 static const std::string&
sTOPO;
129 static unsigned int size() ;
137 static std::string
name(
const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode&
e);
142 static std::string
toString(
const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode& f) {
return name(f); }
149 static const std::vector<std::string>
names();
160 static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode
literal(
const std::string&
name);
167 static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode
from_int(
unsigned int i);
177 static std::string
badInt(
unsigned int i) ;
static int version()
Return the major version number as an int.
static const std::string & sGALACTO
CRadialVelocityReferenceCode & operator=(const CRadialVelocityReferenceCode &)
static std::string revision()
Return the revision as a string.
CRadialVelocityReferenceCode()
std::istream & operator>>(std::istream &in, RadialVelocityReferenceCode &value)
std::ostream & operator<<(std::ostream &out, const RadialVelocityReferenceCode &value)
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sLSRK
static const std::string & sLSRD
Enumerators as strings.
static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode newRadialVelocityReferenceCode(const std::string &name)
Create a RadialVelocityReferenceCode enumeration object by specifying its name.
static const std::string & sTOPO
static std::string badInt(unsigned int i)
static unsigned int size()
Return the number of enumerators declared in RadialVelocityReferenceCodeMod::RadialVelocityReferenceC...
const Double e
e and functions thereof:
static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode literal(const std::string &name)
static std::string badString(const std::string &name)
static std::string name(const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode &e)
Returns an enumerator as a string.
static const std::string & sBARY
static const std::string & sGEO
static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode from_int(unsigned int i)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
A helper class for the enumeration RadialVelocityReferenceCode.
static std::string toString(const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode &f)
Equivalent to the name method.