casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions
CReceiverBand Class Reference

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

#include <CReceiverBand.h>

List of all members.

Static Public Member Functions

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

Static Public Attributes

static const std::string & sALMA_RB_01
 Enumerators as strings.
static const std::string & sALMA_RB_02
static const std::string & sALMA_RB_03
static const std::string & sALMA_RB_04
static const std::string & sALMA_RB_05
static const std::string & sALMA_RB_06
static const std::string & sALMA_RB_07
static const std::string & sALMA_RB_08
static const std::string & sALMA_RB_09
static const std::string & sALMA_RB_10
static const std::string & sALMA_RB_ALL
static const std::string & sALMA_HOLOGRAPHY_RECEIVER
static const std::string & sBURE_01
static const std::string & sBURE_02
static const std::string & sBURE_03
static const std::string & sBURE_04
static const std::string & sEVLA_4
static const std::string & sEVLA_P
static const std::string & sEVLA_L
static const std::string & sEVLA_C
static const std::string & sEVLA_S
static const std::string & sEVLA_X
static const std::string & sEVLA_Ku
static const std::string & sEVLA_K
static const std::string & sEVLA_Ka
static const std::string & sEVLA_Q
static const std::string & sUNSPECIFIED

Private Member Functions

 CReceiverBand ()
 CReceiverBand (const CReceiverBand &)
CReceiverBandoperator= (const CReceiverBand &)
 CReceiverBand ()
 CReceiverBand (const CReceiverBand &)
CReceiverBandoperator= (const CReceiverBand &)

Static Private Member Functions

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

Detailed Description

A helper class for the enumeration ReceiverBand.

Definition at line 133 of file CReceiverBand.h.


Constructor & Destructor Documentation


Member Function Documentation

static std::string CReceiverBand::badInt ( unsigned int  i) [static, private]
static std::string CReceiverBand::badInt ( unsigned int  i) [static, private]
static std::string CReceiverBand::badString ( const std::string &  name) [static, private]
static std::string CReceiverBand::badString ( const std::string &  name) [static, private]
static ReceiverBandMod::ReceiverBand CReceiverBand::from_int ( unsigned int  i) [static]

Return a ReceiverBand's enumerator given an unsigned int.

Parameters:
ithe index of the enumerator in ReceiverBandMod::ReceiverBand.
Returns:
a ReceiverBandMod::ReceiverBand's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this integer.
static ReceiverBandMod::ReceiverBand CReceiverBand::from_int ( unsigned int  i) [static]

Return a ReceiverBand's enumerator given an unsigned int.

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

Return a ReceiverBand's enumerator given a string.

Parameters:
namethe string representation of the enumerator.
Returns:
a ReceiverBandMod::ReceiverBand's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this name.
static ReceiverBandMod::ReceiverBand CReceiverBand::literal ( const std::string &  name) [static]

Return a ReceiverBand's enumerator given a string.

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

Returns an enumerator as a string.

Parameters:
ean enumerator of ReceiverBandMod::ReceiverBand.
Returns:
a string.
static std::string CReceiverBand::name ( const ReceiverBandMod::ReceiverBand &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of ReceiverBandMod::ReceiverBand.
Returns:
a string.
static const std::vector<std::string> CReceiverBand::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 const std::vector<std::string> CReceiverBand::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 ReceiverBandMod::ReceiverBand CReceiverBand::newReceiverBand ( const std::string &  name) [static]

Create a ReceiverBand enumeration object by specifying its name.

static ReceiverBandMod::ReceiverBand CReceiverBand::newReceiverBand ( const std::string &  name) [static]

Create a ReceiverBand enumeration object by specifying its name.

CReceiverBand& CReceiverBand::operator= ( const CReceiverBand ) [private]
CReceiverBand& CReceiverBand::operator= ( const CReceiverBand ) [private]
static std::string CReceiverBand::revision ( ) [static]

Return the revision as a string.

Returns:
a string
static std::string CReceiverBand::revision ( ) [static]

Return the revision as a string.

Returns:
a string
static unsigned int CReceiverBand::size ( ) [static]

Return the number of enumerators declared in ReceiverBandMod::ReceiverBand.

Returns:
an unsigned int.
static unsigned int CReceiverBand::size ( ) [static]

Return the number of enumerators declared in ReceiverBandMod::ReceiverBand.

Returns:
an unsigned int.
static std::string CReceiverBand::toString ( const ReceiverBandMod::ReceiverBand &  f) [inline, static]

Equivalent to the name method.

Definition at line 227 of file CReceiverBand.h.

static std::string CReceiverBand::toString ( const ReceiverBandMod::ReceiverBand &  f) [inline, static]

Equivalent to the name method.

Definition at line 227 of file CReceiverBand.h.

static int CReceiverBand::version ( ) [static]

Return the major version number as an int.

Returns:
an int.
static int CReceiverBand::version ( ) [static]

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CReceiverBand::sALMA_HOLOGRAPHY_RECEIVER [static]

A const string equal to "ALMA_HOLOGRAPHY_RECEIVER".

Definition at line 162 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_01 [static]

Enumerators as strings.

A const string equal to "ALMA_RB_01".

Definition at line 140 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_02 [static]

A const string equal to "ALMA_RB_02".

Definition at line 142 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_03 [static]

A const string equal to "ALMA_RB_03".

Definition at line 144 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_04 [static]

A const string equal to "ALMA_RB_04".

Definition at line 146 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_05 [static]

A const string equal to "ALMA_RB_05".

Definition at line 148 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_06 [static]

A const string equal to "ALMA_RB_06".

Definition at line 150 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_07 [static]

A const string equal to "ALMA_RB_07".

Definition at line 152 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_08 [static]

A const string equal to "ALMA_RB_08".

Definition at line 154 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_09 [static]

A const string equal to "ALMA_RB_09".

Definition at line 156 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_10 [static]

A const string equal to "ALMA_RB_10".

Definition at line 158 of file CReceiverBand.h.

static const std::string & CReceiverBand::sALMA_RB_ALL [static]

A const string equal to "ALMA_RB_ALL".

Definition at line 160 of file CReceiverBand.h.

static const std::string & CReceiverBand::sBURE_01 [static]

A const string equal to "BURE_01".

Definition at line 164 of file CReceiverBand.h.

static const std::string & CReceiverBand::sBURE_02 [static]

A const string equal to "BURE_02".

Definition at line 166 of file CReceiverBand.h.

static const std::string & CReceiverBand::sBURE_03 [static]

A const string equal to "BURE_03".

Definition at line 168 of file CReceiverBand.h.

static const std::string & CReceiverBand::sBURE_04 [static]

A const string equal to "BURE_04".

Definition at line 170 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_4 [static]

A const string equal to "EVLA_4".

Definition at line 172 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_C [static]

A const string equal to "EVLA_C".

Definition at line 178 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_K [static]

A const string equal to "EVLA_K".

Definition at line 186 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_Ka [static]

A const string equal to "EVLA_Ka".

Definition at line 188 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_Ku [static]

A const string equal to "EVLA_Ku".

Definition at line 184 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_L [static]

A const string equal to "EVLA_L".

Definition at line 176 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_P [static]

A const string equal to "EVLA_P".

Definition at line 174 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_Q [static]

A const string equal to "EVLA_Q".

Definition at line 190 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_S [static]

A const string equal to "EVLA_S".

Definition at line 180 of file CReceiverBand.h.

static const std::string & CReceiverBand::sEVLA_X [static]

A const string equal to "EVLA_X".

Definition at line 182 of file CReceiverBand.h.

static const std::string & CReceiverBand::sUNSPECIFIED [static]

A const string equal to "UNSPECIFIED".

Definition at line 192 of file CReceiverBand.h.


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