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
CScanIntent Class Reference

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

#include <CScanIntent.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 ScanIntentMod::ScanIntent. More...
 
static std::string name (const ScanIntentMod::ScanIntent &e)
 Returns an enumerator as a string. More...
 
static std::string toString (const ScanIntentMod::ScanIntent &f)
 Equivalent to the name method. More...
 
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings. More...
 
static ScanIntentMod::ScanIntent newScanIntent (const std::string &name)
 Create a ScanIntent enumeration object by specifying its name. More...
 
static ScanIntentMod::ScanIntent literal (const std::string &name)
 
static ScanIntentMod::ScanIntent from_int (unsigned int i)
 

Static Public Attributes

static const std::string & sCALIBRATE_AMPLI
 Enumerators as strings. More...
 
static const std::string & sCALIBRATE_ATMOSPHERE
 
static const std::string & sCALIBRATE_BANDPASS
 
static const std::string & sCALIBRATE_DELAY
 
static const std::string & sCALIBRATE_FLUX
 
static const std::string & sCALIBRATE_FOCUS
 
static const std::string & sCALIBRATE_FOCUS_X
 
static const std::string & sCALIBRATE_FOCUS_Y
 
static const std::string & sCALIBRATE_PHASE
 
static const std::string & sCALIBRATE_POINTING
 
static const std::string & sCALIBRATE_POLARIZATION
 
static const std::string & sCALIBRATE_SIDEBAND_RATIO
 
static const std::string & sCALIBRATE_WVR
 
static const std::string & sDO_SKYDIP
 
static const std::string & sMAP_ANTENNA_SURFACE
 
static const std::string & sMAP_PRIMARY_BEAM
 
static const std::string & sOBSERVE_TARGET
 
static const std::string & sCALIBRATE_POL_LEAKAGE
 
static const std::string & sCALIBRATE_POL_ANGLE
 
static const std::string & sTEST
 
static const std::string & sUNSPECIFIED
 
static const std::string & sCALIBRATE_ANTENNA_POSITION
 
static const std::string & sCALIBRATE_ANTENNA_PHASE
 
static const std::string & sMEASURE_RFI
 
static const std::string & sCALIBRATE_ANTENNA_POINTING_MODEL
 
static const std::string & sSYSTEM_CONFIGURATION
 
static const std::string & sCALIBRATE_APPPHASE_ACTIVE
 
static const std::string & sCALIBRATE_APPPHASE_PASSIVE
 
static const std::string & sOBSERVE_CHECK_SOURCE
 
static const std::string & sCALIBRATE_DIFFGAIN
 

Private Member Functions

 CScanIntent ()
 
 CScanIntent (const CScanIntent &)
 
CScanIntentoperator= (const CScanIntent &)
 

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 ScanIntent.

Definition at line 139 of file CScanIntent.h.

Constructor & Destructor Documentation

CScanIntent::CScanIntent ( )
private
CScanIntent::CScanIntent ( const CScanIntent )
private

Member Function Documentation

static std::string CScanIntent::badInt ( unsigned int  i)
staticprivate
static std::string CScanIntent::badString ( const std::string &  name)
staticprivate
static ScanIntentMod::ScanIntent CScanIntent::from_int ( unsigned int  i)
static

Return a ScanIntent's enumerator given an unsigned int.

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

Return a ScanIntent's enumerator given a string.

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

Returns an enumerator as a string.

Parameters
ean enumerator of ScanIntentMod::ScanIntent.
Returns
a string.
static const std::vector<std::string> CScanIntent::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 ScanIntentMod::ScanIntent CScanIntent::newScanIntent ( const std::string &  name)
static

Create a ScanIntent enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the number of enumerators declared in ScanIntentMod::ScanIntent.

Returns
an unsigned int.
static std::string CScanIntent::toString ( const ScanIntentMod::ScanIntent &  f)
inlinestatic

Equivalent to the name method.

Definition at line 239 of file CScanIntent.h.

static int CScanIntent::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CScanIntent::sCALIBRATE_AMPLI
static

Enumerators as strings.

A const string equal to "CALIBRATE_AMPLI".

Definition at line 146 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_ANTENNA_PHASE
static

A const string equal to "CALIBRATE_ANTENNA_PHASE".

Definition at line 190 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_ANTENNA_POINTING_MODEL
static

A const string equal to "CALIBRATE_ANTENNA_POINTING_MODEL".

Definition at line 194 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_ANTENNA_POSITION
static

A const string equal to "CALIBRATE_ANTENNA_POSITION".

Definition at line 188 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_APPPHASE_ACTIVE
static

A const string equal to "CALIBRATE_APPPHASE_ACTIVE".

Definition at line 198 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_APPPHASE_PASSIVE
static

A const string equal to "CALIBRATE_APPPHASE_PASSIVE".

Definition at line 200 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_ATMOSPHERE
static

A const string equal to "CALIBRATE_ATMOSPHERE".

Definition at line 148 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_BANDPASS
static

A const string equal to "CALIBRATE_BANDPASS".

Definition at line 150 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_DELAY
static

A const string equal to "CALIBRATE_DELAY".

Definition at line 152 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_DIFFGAIN
static

A const string equal to "CALIBRATE_DIFFGAIN".

Definition at line 204 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_FLUX
static

A const string equal to "CALIBRATE_FLUX".

Definition at line 154 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_FOCUS
static

A const string equal to "CALIBRATE_FOCUS".

Definition at line 156 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_FOCUS_X
static

A const string equal to "CALIBRATE_FOCUS_X".

Definition at line 158 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_FOCUS_Y
static

A const string equal to "CALIBRATE_FOCUS_Y".

Definition at line 160 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_PHASE
static

A const string equal to "CALIBRATE_PHASE".

Definition at line 162 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_POINTING
static

A const string equal to "CALIBRATE_POINTING".

Definition at line 164 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_POL_ANGLE
static

A const string equal to "CALIBRATE_POL_ANGLE".

Definition at line 182 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_POL_LEAKAGE
static

A const string equal to "CALIBRATE_POL_LEAKAGE".

Definition at line 180 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_POLARIZATION
static

A const string equal to "CALIBRATE_POLARIZATION".

Definition at line 166 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_SIDEBAND_RATIO
static

A const string equal to "CALIBRATE_SIDEBAND_RATIO".

Definition at line 168 of file CScanIntent.h.

const std::string& CScanIntent::sCALIBRATE_WVR
static

A const string equal to "CALIBRATE_WVR".

Definition at line 170 of file CScanIntent.h.

const std::string& CScanIntent::sDO_SKYDIP
static

A const string equal to "DO_SKYDIP".

Definition at line 172 of file CScanIntent.h.

const std::string& CScanIntent::sMAP_ANTENNA_SURFACE
static

A const string equal to "MAP_ANTENNA_SURFACE".

Definition at line 174 of file CScanIntent.h.

const std::string& CScanIntent::sMAP_PRIMARY_BEAM
static

A const string equal to "MAP_PRIMARY_BEAM".

Definition at line 176 of file CScanIntent.h.

const std::string& CScanIntent::sMEASURE_RFI
static

A const string equal to "MEASURE_RFI".

Definition at line 192 of file CScanIntent.h.

const std::string& CScanIntent::sOBSERVE_CHECK_SOURCE
static

A const string equal to "OBSERVE_CHECK_SOURCE".

Definition at line 202 of file CScanIntent.h.

const std::string& CScanIntent::sOBSERVE_TARGET
static

A const string equal to "OBSERVE_TARGET".

Definition at line 178 of file CScanIntent.h.

const std::string& CScanIntent::sSYSTEM_CONFIGURATION
static

A const string equal to "SYSTEM_CONFIGURATION".

Definition at line 196 of file CScanIntent.h.

const std::string& CScanIntent::sTEST
static

A const string equal to "TEST".

Definition at line 184 of file CScanIntent.h.

const std::string& CScanIntent::sUNSPECIFIED
static

A const string equal to "UNSPECIFIED".

Definition at line 186 of file CScanIntent.h.


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