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