casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | List of all members
CBinaryDataFlags Class Reference

A helper class for the enumeration BinaryDataFlags. More...

#include <CBinaryDataFlags.h>

Static Public Member Functions

static int version ()
 Return the major version number as an int. More...
 
static std::string revision ()
 Return the revision as a string. More...
 
static unsigned int size ()
 Return the number of enumerators declared in BinaryDataFlagsMod::BinaryDataFlags. More...
 
static std::string name (const BinaryDataFlagsMod::BinaryDataFlags &e)
 Returns an enumerator as a string. More...
 
static std::string toString (const BinaryDataFlagsMod::BinaryDataFlags &f)
 Equivalent to the name method. More...
 
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings. More...
 
static
BinaryDataFlagsMod::BinaryDataFlags 
newBinaryDataFlags (const std::string &name)
 Create a BinaryDataFlags enumeration object by specifying its name. More...
 
static
BinaryDataFlagsMod::BinaryDataFlags 
literal (const std::string &name)
 
static
BinaryDataFlagsMod::BinaryDataFlags 
from_int (unsigned int i)
 

Static Public Attributes

static const std::string & sINTEGRATION_FULLY_BLANKED
 Enumerators as strings. More...
 
static const std::string & sWVR_APC
 
static const std::string & sCORRELATOR_MISSING_STATUS
 
static const std::string & sMISSING_ANTENNA_EVENT
 
static const std::string & sDELTA_SIGMA_OVERFLOW
 
static const std::string & sDELAY_CORRECTION_NOT_APPLIED
 
static const std::string & sSYNCRONIZATION_ERROR
 
static const std::string & sFFT_OVERFLOW
 
static const std::string & sTFB_SCALING_FACTOR_NOT_RETRIEVED
 
static const std::string & sZERO_LAG_NOT_RECEIVED
 
static const std::string & sSIGMA_OVERFLOW
 
static const std::string & sUNUSABLE_CAI_OUTPUT
 
static const std::string & sQC_FAILED
 
static const std::string & sNOISY_TDM_CHANNELS
 
static const std::string & sSPECTRAL_NORMALIZATION_FAILED
 
static const std::string & sDROPPED_PACKETS
 
static const std::string & sDETECTOR_SATURATED
 
static const std::string & sNO_DATA_FROM_DIGITAL_POWER_METER
 
static const std::string & sRESERVED_18
 
static const std::string & sRESERVED_19
 
static const std::string & sRESERVED_20
 
static const std::string & sRESERVED_21
 
static const std::string & sRESERVED_22
 
static const std::string & sRESERVED_23
 
static const std::string & sRESERVED_24
 
static const std::string & sRESERVED_25
 
static const std::string & sRESERVED_26
 
static const std::string & sRESERVED_27
 
static const std::string & sRESERVED_28
 
static const std::string & sRESERVED_29
 
static const std::string & sRESERVED_30
 
static const std::string & sALL_PURPOSE_ERROR
 

Private Member Functions

 CBinaryDataFlags ()
 
 CBinaryDataFlags (const CBinaryDataFlags &)
 
CBinaryDataFlagsoperator= (const CBinaryDataFlags &)
 

Static Private Member Functions

static std::string badString (const std::string &name)
 
static std::string badInt (unsigned int i)
 

Detailed Description

A helper class for the enumeration BinaryDataFlags.

Definition at line 144 of file CBinaryDataFlags.h.

Constructor & Destructor Documentation

CBinaryDataFlags::CBinaryDataFlags ( )
private
CBinaryDataFlags::CBinaryDataFlags ( const CBinaryDataFlags )
private

Member Function Documentation

static std::string CBinaryDataFlags::badInt ( unsigned int  i)
staticprivate
static std::string CBinaryDataFlags::badString ( const std::string &  name)
staticprivate
static BinaryDataFlagsMod::BinaryDataFlags CBinaryDataFlags::from_int ( unsigned int  i)
static

Return a BinaryDataFlags's enumerator given an unsigned int.

Parameters
ithe index of the enumerator in BinaryDataFlagsMod::BinaryDataFlags.
Returns
a BinaryDataFlagsMod::BinaryDataFlags's enumerator.
Exceptions
astring containing an error message if no enumerator could be found for this integer.
static BinaryDataFlagsMod::BinaryDataFlags CBinaryDataFlags::literal ( const std::string &  name)
static

Return a BinaryDataFlags's enumerator given a string.

Parameters
namethe string representation of the enumerator.
Returns
a BinaryDataFlagsMod::BinaryDataFlags's enumerator.
Exceptions
astring containing an error message if no enumerator could be found for this name.
static std::string CBinaryDataFlags::name ( const BinaryDataFlagsMod::BinaryDataFlags &  e)
static

Returns an enumerator as a string.

Parameters
ean enumerator of BinaryDataFlagsMod::BinaryDataFlags.
Returns
a string.
static const std::vector<std::string> CBinaryDataFlags::names ( )
static

Returns vector of all the enumerators as strings.

The strings are stored in the vector in the same order than the enumerators are declared in the enumeration.

Returns
a vector of string.
static BinaryDataFlagsMod::BinaryDataFlags CBinaryDataFlags::newBinaryDataFlags ( const std::string &  name)
static

Create a BinaryDataFlags enumeration object by specifying its name.

CBinaryDataFlags& CBinaryDataFlags::operator= ( const CBinaryDataFlags )
private
static std::string CBinaryDataFlags::revision ( )
static

Return the revision as a string.

Returns
a string
static unsigned int CBinaryDataFlags::size ( )
static

Return the number of enumerators declared in BinaryDataFlagsMod::BinaryDataFlags.

Returns
an unsigned int.
static std::string CBinaryDataFlags::toString ( const BinaryDataFlagsMod::BinaryDataFlags &  f)
inlinestatic

Equivalent to the name method.

Definition at line 248 of file CBinaryDataFlags.h.

static int CBinaryDataFlags::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CBinaryDataFlags::sALL_PURPOSE_ERROR
static

A const string equal to "ALL_PURPOSE_ERROR".

Definition at line 213 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sCORRELATOR_MISSING_STATUS
static

A const string equal to "CORRELATOR_MISSING_STATUS".

Definition at line 155 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sDELAY_CORRECTION_NOT_APPLIED
static

A const string equal to "DELAY_CORRECTION_NOT_APPLIED".

Definition at line 161 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sDELTA_SIGMA_OVERFLOW
static

A const string equal to "DELTA_SIGMA_OVERFLOW".

Definition at line 159 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sDETECTOR_SATURATED
static

A const string equal to "DETECTOR_SATURATED".

Definition at line 183 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sDROPPED_PACKETS
static

A const string equal to "DROPPED_PACKETS".

Definition at line 181 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sFFT_OVERFLOW
static

A const string equal to "FFT_OVERFLOW".

Definition at line 165 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sINTEGRATION_FULLY_BLANKED
static

Enumerators as strings.

A const string equal to "INTEGRATION_FULLY_BLANKED".

Definition at line 151 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sMISSING_ANTENNA_EVENT
static

A const string equal to "MISSING_ANTENNA_EVENT".

Definition at line 157 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sNO_DATA_FROM_DIGITAL_POWER_METER
static

A const string equal to "NO_DATA_FROM_DIGITAL_POWER_METER".

Definition at line 185 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sNOISY_TDM_CHANNELS
static

A const string equal to "NOISY_TDM_CHANNELS".

Definition at line 177 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sQC_FAILED
static

A const string equal to "QC_FAILED".

Definition at line 175 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_18
static

A const string equal to "RESERVED_18".

Definition at line 187 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_19
static

A const string equal to "RESERVED_19".

Definition at line 189 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_20
static

A const string equal to "RESERVED_20".

Definition at line 191 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_21
static

A const string equal to "RESERVED_21".

Definition at line 193 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_22
static

A const string equal to "RESERVED_22".

Definition at line 195 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_23
static

A const string equal to "RESERVED_23".

Definition at line 197 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_24
static

A const string equal to "RESERVED_24".

Definition at line 199 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_25
static

A const string equal to "RESERVED_25".

Definition at line 201 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_26
static

A const string equal to "RESERVED_26".

Definition at line 203 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_27
static

A const string equal to "RESERVED_27".

Definition at line 205 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_28
static

A const string equal to "RESERVED_28".

Definition at line 207 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_29
static

A const string equal to "RESERVED_29".

Definition at line 209 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sRESERVED_30
static

A const string equal to "RESERVED_30".

Definition at line 211 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sSIGMA_OVERFLOW
static

A const string equal to "SIGMA_OVERFLOW".

Definition at line 171 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sSPECTRAL_NORMALIZATION_FAILED
static

A const string equal to "SPECTRAL_NORMALIZATION_FAILED".

Definition at line 179 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sSYNCRONIZATION_ERROR
static

A const string equal to "SYNCRONIZATION_ERROR".

Definition at line 163 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sTFB_SCALING_FACTOR_NOT_RETRIEVED
static

A const string equal to "TFB_SCALING_FACTOR_NOT_RETRIEVED".

Definition at line 167 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sUNUSABLE_CAI_OUTPUT
static

A const string equal to "UNUSABLE_CAI_OUTPUT".

Definition at line 173 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sWVR_APC
static

A const string equal to "WVR_APC".

Definition at line 153 of file CBinaryDataFlags.h.

const std::string& CBinaryDataFlags::sZERO_LAG_NOT_RECEIVED
static

A const string equal to "ZERO_LAG_NOT_RECEIVED".

Definition at line 169 of file CBinaryDataFlags.h.


The documentation for this class was generated from the following file: