A helper class for the enumeration ReceiverBand.
More...
#include <CReceiverBand.h>
|
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 ReceiverBandMod::ReceiverBand. More...
|
|
static std::string | name (const ReceiverBandMod::ReceiverBand &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const ReceiverBandMod::ReceiverBand &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
ReceiverBandMod::ReceiverBand | newReceiverBand (const std::string &name) |
| Create a ReceiverBand enumeration object by specifying its name. More...
|
|
static
ReceiverBandMod::ReceiverBand | literal (const std::string &name) |
|
static
ReceiverBandMod::ReceiverBand | from_int (unsigned int i) |
|
|
static std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration ReceiverBand.
Definition at line 133 of file CReceiverBand.h.
CReceiverBand::CReceiverBand |
( |
| ) |
|
|
private |
static std::string CReceiverBand::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CReceiverBand::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static ReceiverBandMod::ReceiverBand CReceiverBand::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a ReceiverBand's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in ReceiverBandMod::ReceiverBand. |
- Returns
- a ReceiverBandMod::ReceiverBand's enumerator.
- Exceptions
-
a | string 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
-
name | the string representation of the enumerator. |
- Returns
- a ReceiverBandMod::ReceiverBand's enumerator.
- Exceptions
-
a | string 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
-
e | an 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 ReceiverBandMod::ReceiverBand CReceiverBand::newReceiverBand |
( |
const std::string & |
name | ) |
|
|
static |
Create a ReceiverBand enumeration object by specifying its name.
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 std::string CReceiverBand::toString |
( |
const ReceiverBandMod::ReceiverBand & |
f | ) |
|
|
inlinestatic |
static int CReceiverBand::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CReceiverBand::sALMA_HOLOGRAPHY_RECEIVER |
|
static |
A const string equal to "ALMA_HOLOGRAPHY_RECEIVER".
Definition at line 162 of file CReceiverBand.h.
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.
const std::string& CReceiverBand::sALMA_RB_02 |
|
static |
const std::string& CReceiverBand::sALMA_RB_03 |
|
static |
const std::string& CReceiverBand::sALMA_RB_04 |
|
static |
const std::string& CReceiverBand::sALMA_RB_05 |
|
static |
const std::string& CReceiverBand::sALMA_RB_06 |
|
static |
const std::string& CReceiverBand::sALMA_RB_07 |
|
static |
const std::string& CReceiverBand::sALMA_RB_08 |
|
static |
const std::string& CReceiverBand::sALMA_RB_09 |
|
static |
const std::string& CReceiverBand::sALMA_RB_10 |
|
static |
const std::string& CReceiverBand::sALMA_RB_ALL |
|
static |
const std::string& CReceiverBand::sBURE_01 |
|
static |
const std::string& CReceiverBand::sBURE_02 |
|
static |
const std::string& CReceiverBand::sBURE_03 |
|
static |
const std::string& CReceiverBand::sBURE_04 |
|
static |
const std::string& CReceiverBand::sEVLA_4 |
|
static |
const std::string& CReceiverBand::sEVLA_C |
|
static |
const std::string& CReceiverBand::sEVLA_K |
|
static |
const std::string& CReceiverBand::sEVLA_Ka |
|
static |
const std::string& CReceiverBand::sEVLA_Ku |
|
static |
const std::string& CReceiverBand::sEVLA_L |
|
static |
const std::string& CReceiverBand::sEVLA_P |
|
static |
const std::string& CReceiverBand::sEVLA_Q |
|
static |
const std::string& CReceiverBand::sEVLA_S |
|
static |
const std::string& CReceiverBand::sEVLA_X |
|
static |
const std::string& CReceiverBand::sUNSPECIFIED |
|
static |
The documentation for this class was generated from the following file: