A helper class for the enumeration RadialVelocityReferenceCode.
More...
#include <CRadialVelocityReferenceCode.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 RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode. More...
|
|
static std::string | name (const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode | newRadialVelocityReferenceCode (const std::string &name) |
| Create a RadialVelocityReferenceCode enumeration object by specifying its name. More...
|
|
static
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode | literal (const std::string &name) |
|
static
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode | from_int (unsigned int i) |
|
|
static const std::string & | sLSRD |
| Enumerators as strings. More...
|
|
static const std::string & | sLSRK |
|
static const std::string & | sGALACTO |
|
static const std::string & | sBARY |
|
static const std::string & | sGEO |
|
static const std::string & | sTOPO |
|
|
static std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration RadialVelocityReferenceCode.
Definition at line 91 of file CRadialVelocityReferenceCode.h.
CRadialVelocityReferenceCode::CRadialVelocityReferenceCode |
( |
| ) |
|
|
private |
static std::string CRadialVelocityReferenceCode::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CRadialVelocityReferenceCode::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode CRadialVelocityReferenceCode::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a RadialVelocityReferenceCode's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode. |
- Returns
- a RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode CRadialVelocityReferenceCode::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a RadialVelocityReferenceCode's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CRadialVelocityReferenceCode::name |
( |
const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode. |
- Returns
- a string.
static const std::vector<std::string> CRadialVelocityReferenceCode::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 RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode CRadialVelocityReferenceCode::newRadialVelocityReferenceCode |
( |
const std::string & |
name | ) |
|
|
static |
Create a RadialVelocityReferenceCode enumeration object by specifying its name.
static std::string CRadialVelocityReferenceCode::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CRadialVelocityReferenceCode::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode.
- Returns
- an unsigned int.
static std::string CRadialVelocityReferenceCode::toString |
( |
const RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode & |
f | ) |
|
|
inlinestatic |
static int CRadialVelocityReferenceCode::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CRadialVelocityReferenceCode::sBARY |
|
static |
const std::string& CRadialVelocityReferenceCode::sGALACTO |
|
static |
const std::string& CRadialVelocityReferenceCode::sGEO |
|
static |
const std::string& CRadialVelocityReferenceCode::sLSRD |
|
static |
const std::string& CRadialVelocityReferenceCode::sLSRK |
|
static |
const std::string& CRadialVelocityReferenceCode::sTOPO |
|
static |
The documentation for this class was generated from the following file: