A helper class for the enumeration BaselineReferenceCode.
More...
#include <CBaselineReferenceCode.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 BaselineReferenceCodeMod::BaselineReferenceCode. More...
|
|
static std::string | name (const BaselineReferenceCodeMod::BaselineReferenceCode &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const BaselineReferenceCodeMod::BaselineReferenceCode &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
BaselineReferenceCodeMod::BaselineReferenceCode | newBaselineReferenceCode (const std::string &name) |
| Create a BaselineReferenceCode enumeration object by specifying its name. More...
|
|
static
BaselineReferenceCodeMod::BaselineReferenceCode | literal (const std::string &name) |
|
static
BaselineReferenceCodeMod::BaselineReferenceCode | from_int (unsigned int i) |
|
|
static const std::string & | sJ2000 |
| Enumerators as strings. More...
|
|
static const std::string & | sB1950 |
|
static const std::string & | sGALACTIC |
|
static const std::string & | sSUPERGAL |
|
static const std::string & | sECLIPTIC |
|
static const std::string & | sJMEAN |
|
static const std::string & | sJTRUE |
|
static const std::string & | sAPP |
|
static const std::string & | sBMEAN |
|
static const std::string & | sBTRUE |
|
static const std::string & | sJNAT |
|
static const std::string & | sMECLIPTIC |
|
static const std::string & | sTECLIPTIC |
|
static const std::string & | sTOPO |
|
static const std::string & | sMERCURY |
|
static const std::string & | sVENUS |
|
static const std::string & | sMARS |
|
static const std::string & | sJUPITER |
|
static const std::string & | sSATURN |
|
static const std::string & | sNEPTUN |
|
static const std::string & | sSUN |
|
static const std::string & | sMOON |
|
static const std::string & | sHADEC |
|
static const std::string & | sAZEL |
|
static const std::string & | sAZELGEO |
|
static const std::string & | sAZELSW |
|
static const std::string & | sAZELNE |
|
static const std::string & | sITRF |
|
|
static std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration BaselineReferenceCode.
Definition at line 135 of file CBaselineReferenceCode.h.
CBaselineReferenceCode::CBaselineReferenceCode |
( |
| ) |
|
|
private |
static std::string CBaselineReferenceCode::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CBaselineReferenceCode::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a BaselineReferenceCode's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in BaselineReferenceCodeMod::BaselineReferenceCode. |
- Returns
- a BaselineReferenceCodeMod::BaselineReferenceCode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a BaselineReferenceCode's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a BaselineReferenceCodeMod::BaselineReferenceCode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CBaselineReferenceCode::name |
( |
const BaselineReferenceCodeMod::BaselineReferenceCode & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of BaselineReferenceCodeMod::BaselineReferenceCode. |
- Returns
- a string.
static const std::vector<std::string> CBaselineReferenceCode::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 BaselineReferenceCodeMod::BaselineReferenceCode CBaselineReferenceCode::newBaselineReferenceCode |
( |
const std::string & |
name | ) |
|
|
static |
Create a BaselineReferenceCode enumeration object by specifying its name.
static std::string CBaselineReferenceCode::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CBaselineReferenceCode::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in BaselineReferenceCodeMod::BaselineReferenceCode.
- Returns
- an unsigned int.
static std::string CBaselineReferenceCode::toString |
( |
const BaselineReferenceCodeMod::BaselineReferenceCode & |
f | ) |
|
|
inlinestatic |
static int CBaselineReferenceCode::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CBaselineReferenceCode::sAPP |
|
static |
const std::string& CBaselineReferenceCode::sAZEL |
|
static |
const std::string& CBaselineReferenceCode::sAZELGEO |
|
static |
const std::string& CBaselineReferenceCode::sAZELNE |
|
static |
const std::string& CBaselineReferenceCode::sAZELSW |
|
static |
const std::string& CBaselineReferenceCode::sB1950 |
|
static |
const std::string& CBaselineReferenceCode::sBMEAN |
|
static |
const std::string& CBaselineReferenceCode::sBTRUE |
|
static |
const std::string& CBaselineReferenceCode::sECLIPTIC |
|
static |
const std::string& CBaselineReferenceCode::sGALACTIC |
|
static |
const std::string& CBaselineReferenceCode::sHADEC |
|
static |
const std::string& CBaselineReferenceCode::sITRF |
|
static |
const std::string& CBaselineReferenceCode::sJ2000 |
|
static |
const std::string& CBaselineReferenceCode::sJMEAN |
|
static |
const std::string& CBaselineReferenceCode::sJNAT |
|
static |
const std::string& CBaselineReferenceCode::sJTRUE |
|
static |
const std::string& CBaselineReferenceCode::sJUPITER |
|
static |
const std::string& CBaselineReferenceCode::sMARS |
|
static |
const std::string& CBaselineReferenceCode::sMECLIPTIC |
|
static |
const std::string& CBaselineReferenceCode::sMERCURY |
|
static |
const std::string& CBaselineReferenceCode::sMOON |
|
static |
const std::string& CBaselineReferenceCode::sNEPTUN |
|
static |
const std::string& CBaselineReferenceCode::sSATURN |
|
static |
const std::string& CBaselineReferenceCode::sSUN |
|
static |
const std::string& CBaselineReferenceCode::sSUPERGAL |
|
static |
const std::string& CBaselineReferenceCode::sTECLIPTIC |
|
static |
const std::string& CBaselineReferenceCode::sTOPO |
|
static |
const std::string& CBaselineReferenceCode::sVENUS |
|
static |
The documentation for this class was generated from the following file: