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