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

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

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

Static Public Attributes

static const std::string & sNONE
 Enumerators as strings. More...
 
static const std::string & sAMPLI_CURVE
 
static const std::string & sANTENNA_POSITIONS
 
static const std::string & sPHASE_CURVE
 
static const std::string & sPOINTING_MODEL
 
static const std::string & sACCUMULATE
 
static const std::string & sTEST
 
static const std::string & sUNSPECIFIED
 

Private Member Functions

 CCalibrationSet ()
 
 CCalibrationSet (const CCalibrationSet &)
 
CCalibrationSetoperator= (const CCalibrationSet &)
 

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

Definition at line 95 of file CCalibrationSet.h.

Constructor & Destructor Documentation

CCalibrationSet::CCalibrationSet ( )
private
CCalibrationSet::CCalibrationSet ( const CCalibrationSet )
private

Member Function Documentation

static std::string CCalibrationSet::badInt ( unsigned int  i)
staticprivate
static std::string CCalibrationSet::badString ( const std::string &  name)
staticprivate
static CalibrationSetMod::CalibrationSet CCalibrationSet::from_int ( unsigned int  i)
static

Return a CalibrationSet's enumerator given an unsigned int.

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

Return a CalibrationSet's enumerator given a string.

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

Returns an enumerator as a string.

Parameters
ean enumerator of CalibrationSetMod::CalibrationSet.
Returns
a string.
static const std::vector<std::string> CCalibrationSet::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 CalibrationSetMod::CalibrationSet CCalibrationSet::newCalibrationSet ( const std::string &  name)
static

Create a CalibrationSet enumeration object by specifying its name.

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

Return the revision as a string.

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

Return the number of enumerators declared in CalibrationSetMod::CalibrationSet.

Returns
an unsigned int.
static std::string CCalibrationSet::toString ( const CalibrationSetMod::CalibrationSet &  f)
inlinestatic

Equivalent to the name method.

Definition at line 151 of file CCalibrationSet.h.

static int CCalibrationSet::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CCalibrationSet::sACCUMULATE
static

A const string equal to "ACCUMULATE".

Definition at line 112 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sAMPLI_CURVE
static

A const string equal to "AMPLI_CURVE".

Definition at line 104 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sANTENNA_POSITIONS
static

A const string equal to "ANTENNA_POSITIONS".

Definition at line 106 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sNONE
static

Enumerators as strings.

A const string equal to "NONE".

Definition at line 102 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sPHASE_CURVE
static

A const string equal to "PHASE_CURVE".

Definition at line 108 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sPOINTING_MODEL
static

A const string equal to "POINTING_MODEL".

Definition at line 110 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sTEST
static

A const string equal to "TEST".

Definition at line 114 of file CCalibrationSet.h.

const std::string& CCalibrationSet::sUNSPECIFIED
static

A const string equal to "UNSPECIFIED".

Definition at line 116 of file CCalibrationSet.h.


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