2 #ifndef CCorrelatorName_H
3 #define CCorrelatorName_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace CorrelatorNameMod
59 const char *
const revision =
"-1";
60 const int version = 1;
70 ALMA_BASELINE_PROTO_OSF
85 typedef CorrelatorName &CorrelatorName_out;
89 namespace CorrelatorNameMod {
145 static unsigned int size() ;
153 static std::string
name(
const CorrelatorNameMod::CorrelatorName&
e);
158 static std::string
toString(
const CorrelatorNameMod::CorrelatorName& f) {
return name(f); }
165 static const std::vector<std::string>
names();
176 static CorrelatorNameMod::CorrelatorName
literal(
const std::string&
name);
183 static CorrelatorNameMod::CorrelatorName
from_int(
unsigned int i);
193 static std::string
badInt(
unsigned int i) ;
std::ostream & operator<<(std::ostream &out, const CorrelatorName &value)
static const std::string & sNRAO_WIDAR
static const std::string & sIRAM_30M_VESPA
static const std::string & sHERSCHEL
static std::string toString(const CorrelatorNameMod::CorrelatorName &f)
Equivalent to the name method.
static const std::string & sALMA_BASELINE_ATF
A helper class for the enumeration CorrelatorName.
static unsigned int size()
Return the number of enumerators declared in CorrelatorNameMod::CorrelatorName.
static std::string badInt(unsigned int i)
static CorrelatorNameMod::CorrelatorName literal(const std::string &name)
static CorrelatorNameMod::CorrelatorName newCorrelatorName(const std::string &name)
Create a CorrelatorName enumeration object by specifying its name.
static const std::string & sNRAO_VLA
static const std::string & sIRAM_WILMA
static const std::string & sALMA_BASELINE
static std::string badString(const std::string &name)
static const std::string & sALMA_BASELINE_PROTO_OSF
static int version()
Return the major version number as an int.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
const Double e
e and functions thereof:
static CorrelatorNameMod::CorrelatorName from_int(unsigned int i)
static const std::string & sIRAM_PDB
static std::string name(const CorrelatorNameMod::CorrelatorName &e)
Returns an enumerator as a string.
static const std::string & sALMA_ACA
Enumerators as strings.
CCorrelatorName & operator=(const CCorrelatorName &)
static std::string revision()
Return the revision as a string.
std::istream & operator>>(std::istream &in, CorrelatorName &value)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.