A helper class for the enumeration CalibrationMode.
More...
#include <CCalibrationMode.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 CalibrationModeMod::CalibrationMode. More...
|
|
static std::string | name (const CalibrationModeMod::CalibrationMode &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const CalibrationModeMod::CalibrationMode &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
CalibrationModeMod::CalibrationMode | newCalibrationMode (const std::string &name) |
| Create a CalibrationMode enumeration object by specifying its name. More...
|
|
static
CalibrationModeMod::CalibrationMode | literal (const std::string &name) |
|
static
CalibrationModeMod::CalibrationMode | 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 CalibrationMode.
Definition at line 89 of file CCalibrationMode.h.
CCalibrationMode::CCalibrationMode |
( |
| ) |
|
|
private |
static std::string CCalibrationMode::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CCalibrationMode::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static CalibrationModeMod::CalibrationMode CCalibrationMode::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a CalibrationMode's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in CalibrationModeMod::CalibrationMode. |
- Returns
- a CalibrationModeMod::CalibrationMode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static CalibrationModeMod::CalibrationMode CCalibrationMode::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a CalibrationMode's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a CalibrationModeMod::CalibrationMode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CCalibrationMode::name |
( |
const CalibrationModeMod::CalibrationMode & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of CalibrationModeMod::CalibrationMode. |
- Returns
- a string.
static const std::vector<std::string> CCalibrationMode::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 CalibrationModeMod::CalibrationMode CCalibrationMode::newCalibrationMode |
( |
const std::string & |
name | ) |
|
|
static |
Create a CalibrationMode enumeration object by specifying its name.
static std::string CCalibrationMode::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CCalibrationMode::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in CalibrationModeMod::CalibrationMode.
- Returns
- an unsigned int.
static std::string CCalibrationMode::toString |
( |
const CalibrationModeMod::CalibrationMode & |
f | ) |
|
|
inlinestatic |
static int CCalibrationMode::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CCalibrationMode::sHOLOGRAPHY |
|
static |
Enumerators as strings.
A const string equal to "HOLOGRAPHY".
Definition at line 96 of file CCalibrationMode.h.
const std::string& CCalibrationMode::sINTERFEROMETRY |
|
static |
const std::string& CCalibrationMode::sOPTICAL |
|
static |
const std::string& CCalibrationMode::sRADIOMETRY |
|
static |
const std::string& CCalibrationMode::sWVR |
|
static |
The documentation for this class was generated from the following file: