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