2 #ifndef CBinaryDataFlags_H
3 #define CBinaryDataFlags_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace BinaryDataFlagsMod
59 const char *
const revision =
"-1";
60 const int version = 1;
64 INTEGRATION_FULLY_BLANKED
68 CORRELATOR_MISSING_STATUS
74 DELAY_CORRECTION_NOT_APPLIED
80 TFB_SCALING_FACTOR_NOT_RETRIEVED
93 SPECTRAL_NORMALIZATION_FAILED
99 NO_DATA_FROM_DIGITAL_POWER_METER
130 typedef BinaryDataFlags &BinaryDataFlags_out;
134 namespace BinaryDataFlagsMod {
234 static unsigned int size() ;
242 static std::string
name(
const BinaryDataFlagsMod::BinaryDataFlags&
e);
247 static std::string
toString(
const BinaryDataFlagsMod::BinaryDataFlags& f) {
return name(f); }
254 static const std::vector<std::string>
names();
265 static BinaryDataFlagsMod::BinaryDataFlags
literal(
const std::string&
name);
272 static BinaryDataFlagsMod::BinaryDataFlags
from_int(
unsigned int i);
282 static std::string
badInt(
unsigned int i) ;
static BinaryDataFlagsMod::BinaryDataFlags newBinaryDataFlags(const std::string &name)
Create a BinaryDataFlags enumeration object by specifying its name.
static std::string badString(const std::string &name)
static const std::string & sRESERVED_27
static const std::string & sNOISY_TDM_CHANNELS
static const std::string & sDETECTOR_SATURATED
static const std::string & sTFB_SCALING_FACTOR_NOT_RETRIEVED
static const std::string & sRESERVED_28
static unsigned int size()
Return the number of enumerators declared in BinaryDataFlagsMod::BinaryDataFlags. ...
static const std::string & sRESERVED_19
static const std::string & sMISSING_ANTENNA_EVENT
static const std::string & sRESERVED_18
static const std::string & sFFT_OVERFLOW
std::istream & operator>>(std::istream &in, BinaryDataFlags &value)
static const std::string & sSPECTRAL_NORMALIZATION_FAILED
A helper class for the enumeration BinaryDataFlags.
static std::string toString(const BinaryDataFlagsMod::BinaryDataFlags &f)
Equivalent to the name method.
static const std::string & sCORRELATOR_MISSING_STATUS
static const std::string & sSYNCRONIZATION_ERROR
static const std::string & sRESERVED_26
static const std::string & sRESERVED_25
std::ostream & operator<<(std::ostream &out, const BinaryDataFlags &value)
static const std::string & sRESERVED_24
static const std::string & sZERO_LAG_NOT_RECEIVED
static BinaryDataFlagsMod::BinaryDataFlags literal(const std::string &name)
static std::string name(const BinaryDataFlagsMod::BinaryDataFlags &e)
Returns an enumerator as a string.
static const std::string & sRESERVED_23
static const std::string & sRESERVED_20
static const std::string & sRESERVED_21
static const std::string & sRESERVED_29
static const std::string & sNO_DATA_FROM_DIGITAL_POWER_METER
static const std::string & sUNUSABLE_CAI_OUTPUT
CBinaryDataFlags & operator=(const CBinaryDataFlags &)
static int version()
Return the major version number as an int.
static const std::string & sDELTA_SIGMA_OVERFLOW
static const std::string & sALL_PURPOSE_ERROR
static const std::string & sWVR_APC
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sSIGMA_OVERFLOW
static const std::string & sDROPPED_PACKETS
const Double e
e and functions thereof:
static const std::string & sQC_FAILED
static const std::string & sINTEGRATION_FULLY_BLANKED
Enumerators as strings.
static const std::string & sDELAY_CORRECTION_NOT_APPLIED
static std::string badInt(unsigned int i)
static const std::string & sRESERVED_30
static const std::string & sRESERVED_22
static std::string revision()
Return the revision as a string.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static BinaryDataFlagsMod::BinaryDataFlags from_int(unsigned int i)