A helper class for the enumeration CalDataOrigin.
More...
#include <CCalDataOrigin.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 CalDataOriginMod::CalDataOrigin. More...
|
|
static std::string | name (const CalDataOriginMod::CalDataOrigin &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const CalDataOriginMod::CalDataOrigin &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
CalDataOriginMod::CalDataOrigin | newCalDataOrigin (const std::string &name) |
| Create a CalDataOrigin enumeration object by specifying its name. More...
|
|
static
CalDataOriginMod::CalDataOrigin | literal (const std::string &name) |
|
static
CalDataOriginMod::CalDataOrigin | 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 CalDataOrigin.
Definition at line 97 of file CCalDataOrigin.h.
CCalDataOrigin::CCalDataOrigin |
( |
| ) |
|
|
private |
static std::string CCalDataOrigin::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CCalDataOrigin::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static CalDataOriginMod::CalDataOrigin CCalDataOrigin::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a CalDataOrigin's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in CalDataOriginMod::CalDataOrigin. |
- Returns
- a CalDataOriginMod::CalDataOrigin's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static CalDataOriginMod::CalDataOrigin CCalDataOrigin::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a CalDataOrigin's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a CalDataOriginMod::CalDataOrigin's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CCalDataOrigin::name |
( |
const CalDataOriginMod::CalDataOrigin & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of CalDataOriginMod::CalDataOrigin. |
- Returns
- a string.
static const std::vector<std::string> CCalDataOrigin::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 CalDataOriginMod::CalDataOrigin CCalDataOrigin::newCalDataOrigin |
( |
const std::string & |
name | ) |
|
|
static |
Create a CalDataOrigin enumeration object by specifying its name.
static std::string CCalDataOrigin::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CCalDataOrigin::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in CalDataOriginMod::CalDataOrigin.
- Returns
- an unsigned int.
static std::string CCalDataOrigin::toString |
( |
const CalDataOriginMod::CalDataOrigin & |
f | ) |
|
|
inlinestatic |
static int CCalDataOrigin::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CCalDataOrigin::sCHANNEL_AVERAGE_AUTO |
|
static |
A const string equal to "CHANNEL_AVERAGE_AUTO".
Definition at line 108 of file CCalDataOrigin.h.
const std::string& CCalDataOrigin::sCHANNEL_AVERAGE_CROSS |
|
static |
A const string equal to "CHANNEL_AVERAGE_CROSS".
Definition at line 110 of file CCalDataOrigin.h.
const std::string& CCalDataOrigin::sFULL_RESOLUTION_AUTO |
|
static |
A const string equal to "FULL_RESOLUTION_AUTO".
Definition at line 112 of file CCalDataOrigin.h.
const std::string& CCalDataOrigin::sFULL_RESOLUTION_CROSS |
|
static |
A const string equal to "FULL_RESOLUTION_CROSS".
Definition at line 114 of file CCalDataOrigin.h.
const std::string& CCalDataOrigin::sHOLOGRAPHY |
|
static |
const std::string& CCalDataOrigin::sNONE |
|
static |
const std::string& CCalDataOrigin::sOPTICAL_POINTING |
|
static |
const std::string& CCalDataOrigin::sTOTAL_POWER |
|
static |
Enumerators as strings.
A const string equal to "TOTAL_POWER".
Definition at line 104 of file CCalDataOrigin.h.
const std::string& CCalDataOrigin::sWVR |
|
static |
The documentation for this class was generated from the following file: