A helper class for the enumeration CalibrationSet.
More...
#include <CCalibrationSet.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 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 std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration CalibrationSet.
Definition at line 95 of file CCalibrationSet.h.
CCalibrationSet::CCalibrationSet |
( |
| ) |
|
|
private |
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
-
i | the index of the enumerator in CalibrationSetMod::CalibrationSet. |
- Returns
- a CalibrationSetMod::CalibrationSet's enumerator.
- Exceptions
-
a | string 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
-
name | the string representation of the enumerator. |
- Returns
- a CalibrationSetMod::CalibrationSet's enumerator.
- Exceptions
-
a | string 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
-
e | an 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.
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 |
static int CCalibrationSet::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CCalibrationSet::sACCUMULATE |
|
static |
const std::string& CCalibrationSet::sAMPLI_CURVE |
|
static |
const std::string& CCalibrationSet::sANTENNA_POSITIONS |
|
static |
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 |
const std::string& CCalibrationSet::sPOINTING_MODEL |
|
static |
const std::string& CCalibrationSet::sTEST |
|
static |
const std::string& CCalibrationSet::sUNSPECIFIED |
|
static |
The documentation for this class was generated from the following file: