casa
$Rev:20696$
|
A helper class for the enumeration CalType. More...
#include <CCalType.h>
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 CalTypeMod::CalType. | |
static std::string | name (const CalTypeMod::CalType &e) |
Returns an enumerator as a string. | |
static std::string | toString (const CalTypeMod::CalType &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static CalTypeMod::CalType | newCalType (const std::string &name) |
Create a CalType enumeration object by specifying its name. | |
static CalTypeMod::CalType | literal (const std::string &name) |
static CalTypeMod::CalType | 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 CalTypeMod::CalType. | |
static std::string | name (const CalTypeMod::CalType &e) |
Returns an enumerator as a string. | |
static std::string | toString (const CalTypeMod::CalType &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static CalTypeMod::CalType | newCalType (const std::string &name) |
Create a CalType enumeration object by specifying its name. | |
static CalTypeMod::CalType | literal (const std::string &name) |
static CalTypeMod::CalType | from_int (unsigned int i) |
Static Public Attributes | |
static const std::string & | sCAL_AMPLI |
Enumerators as strings. | |
static const std::string & | sCAL_ATMOSPHERE |
static const std::string & | sCAL_BANDPASS |
static const std::string & | sCAL_CURVE |
static const std::string & | sCAL_DELAY |
static const std::string & | sCAL_FLUX |
static const std::string & | sCAL_FOCUS |
static const std::string & | sCAL_FOCUS_MODEL |
static const std::string & | sCAL_GAIN |
static const std::string & | sCAL_HOLOGRAPHY |
static const std::string & | sCAL_PHASE |
static const std::string & | sCAL_POINTING |
static const std::string & | sCAL_POINTING_MODEL |
static const std::string & | sCAL_POSITION |
static const std::string & | sCAL_PRIMARY_BEAM |
static const std::string & | sCAL_SEEING |
static const std::string & | sCAL_WVR |
Private Member Functions | |
CCalType () | |
CCalType (const CCalType &) | |
CCalType & | operator= (const CCalType &) |
CCalType () | |
CCalType (const CCalType &) | |
CCalType & | operator= (const CCalType &) |
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) |
A helper class for the enumeration CalType.
Definition at line 113 of file CCalType.h.
CCalType::CCalType | ( | ) | [private] |
CCalType::CCalType | ( | const CCalType & | ) | [private] |
CCalType::CCalType | ( | ) | [private] |
CCalType::CCalType | ( | const CCalType & | ) | [private] |
static std::string CCalType::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CCalType::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CCalType::badString | ( | const std::string & | name | ) | [static, private] |
static std::string CCalType::badString | ( | const std::string & | name | ) | [static, private] |
static CalTypeMod::CalType CCalType::from_int | ( | unsigned int | i | ) | [static] |
Return a CalType's enumerator given an unsigned int.
i | the index of the enumerator in CalTypeMod::CalType. |
a | string containing an error message if no enumerator could be found for this integer. |
static CalTypeMod::CalType CCalType::from_int | ( | unsigned int | i | ) | [static] |
Return a CalType's enumerator given an unsigned int.
i | the index of the enumerator in CalTypeMod::CalType. |
a | string containing an error message if no enumerator could be found for this integer. |
static CalTypeMod::CalType CCalType::literal | ( | const std::string & | name | ) | [static] |
Return a CalType's enumerator given a string.
name | the string representation of the enumerator. |
a | string containing an error message if no enumerator could be found for this name. |
static CalTypeMod::CalType CCalType::literal | ( | const std::string & | name | ) | [static] |
Return a CalType's enumerator given a string.
name | the string representation of the enumerator. |
a | string containing an error message if no enumerator could be found for this name. |
static std::string CCalType::name | ( | const CalTypeMod::CalType & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of CalTypeMod::CalType. |
static std::string CCalType::name | ( | const CalTypeMod::CalType & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of CalTypeMod::CalType. |
static const std::vector<std::string> CCalType::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.
static const std::vector<std::string> CCalType::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.
static CalTypeMod::CalType CCalType::newCalType | ( | const std::string & | name | ) | [static] |
Create a CalType enumeration object by specifying its name.
static CalTypeMod::CalType CCalType::newCalType | ( | const std::string & | name | ) | [static] |
Create a CalType enumeration object by specifying its name.
static std::string CCalType::revision | ( | ) | [static] |
Return the revision as a string.
static std::string CCalType::revision | ( | ) | [static] |
Return the revision as a string.
static unsigned int CCalType::size | ( | ) | [static] |
Return the number of enumerators declared in CalTypeMod::CalType.
static unsigned int CCalType::size | ( | ) | [static] |
Return the number of enumerators declared in CalTypeMod::CalType.
static std::string CCalType::toString | ( | const CalTypeMod::CalType & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 187 of file CCalType.h.
static std::string CCalType::toString | ( | const CalTypeMod::CalType & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 187 of file CCalType.h.
static int CCalType::version | ( | ) | [static] |
Return the major version number as an int.
static int CCalType::version | ( | ) | [static] |
Return the major version number as an int.
static const std::string & CCalType::sCAL_AMPLI [static] |
Enumerators as strings.
A const string equal to "CAL_AMPLI".
Definition at line 120 of file CCalType.h.
static const std::string & CCalType::sCAL_ATMOSPHERE [static] |
A const string equal to "CAL_ATMOSPHERE".
Definition at line 122 of file CCalType.h.
static const std::string & CCalType::sCAL_BANDPASS [static] |
A const string equal to "CAL_BANDPASS".
Definition at line 124 of file CCalType.h.
static const std::string & CCalType::sCAL_CURVE [static] |
A const string equal to "CAL_CURVE".
Definition at line 126 of file CCalType.h.
static const std::string & CCalType::sCAL_DELAY [static] |
A const string equal to "CAL_DELAY".
Definition at line 128 of file CCalType.h.
static const std::string & CCalType::sCAL_FLUX [static] |
A const string equal to "CAL_FLUX".
Definition at line 130 of file CCalType.h.
static const std::string & CCalType::sCAL_FOCUS [static] |
A const string equal to "CAL_FOCUS".
Definition at line 132 of file CCalType.h.
static const std::string & CCalType::sCAL_FOCUS_MODEL [static] |
A const string equal to "CAL_FOCUS_MODEL".
Definition at line 134 of file CCalType.h.
static const std::string & CCalType::sCAL_GAIN [static] |
A const string equal to "CAL_GAIN".
Definition at line 136 of file CCalType.h.
static const std::string & CCalType::sCAL_HOLOGRAPHY [static] |
A const string equal to "CAL_HOLOGRAPHY".
Definition at line 138 of file CCalType.h.
static const std::string & CCalType::sCAL_PHASE [static] |
A const string equal to "CAL_PHASE".
Definition at line 140 of file CCalType.h.
static const std::string & CCalType::sCAL_POINTING [static] |
A const string equal to "CAL_POINTING".
Definition at line 142 of file CCalType.h.
static const std::string & CCalType::sCAL_POINTING_MODEL [static] |
A const string equal to "CAL_POINTING_MODEL".
Definition at line 144 of file CCalType.h.
static const std::string & CCalType::sCAL_POSITION [static] |
A const string equal to "CAL_POSITION".
Definition at line 146 of file CCalType.h.
static const std::string & CCalType::sCAL_PRIMARY_BEAM [static] |
A const string equal to "CAL_PRIMARY_BEAM".
Definition at line 148 of file CCalType.h.
static const std::string & CCalType::sCAL_SEEING [static] |
A const string equal to "CAL_SEEING".
Definition at line 150 of file CCalType.h.
static const std::string & CCalType::sCAL_WVR [static] |
A const string equal to "CAL_WVR".
Definition at line 152 of file CCalType.h.