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