casa
$Rev:20696$
|
A helper class for the enumeration WVRMethod. More...
#include <CWVRMethod.h>
Static Public Member Functions | |
static int | version () |
Return the major version number as an int. | |
static std::string | revision () |
Return the revision as a string. | |
static unsigned int | size () |
Return the number of enumerators declared in WVRMethodMod::WVRMethod. | |
static std::string | name (const WVRMethodMod::WVRMethod &e) |
Returns an enumerator as a string. | |
static std::string | toString (const WVRMethodMod::WVRMethod &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static WVRMethodMod::WVRMethod | newWVRMethod (const std::string &name) |
Create a WVRMethod enumeration object by specifying its name. | |
static WVRMethodMod::WVRMethod | literal (const std::string &name) |
static WVRMethodMod::WVRMethod | from_int (unsigned int i) |
static int | version () |
Return the major version number as an int. | |
static std::string | revision () |
Return the revision as a string. | |
static unsigned int | size () |
Return the number of enumerators declared in WVRMethodMod::WVRMethod. | |
static std::string | name (const WVRMethodMod::WVRMethod &e) |
Returns an enumerator as a string. | |
static std::string | toString (const WVRMethodMod::WVRMethod &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static WVRMethodMod::WVRMethod | newWVRMethod (const std::string &name) |
Create a WVRMethod enumeration object by specifying its name. | |
static WVRMethodMod::WVRMethod | literal (const std::string &name) |
static WVRMethodMod::WVRMethod | from_int (unsigned int i) |
Static Public Attributes | |
static const std::string & | sATM_MODEL |
Enumerators as strings. | |
static const std::string & | sEMPIRICAL |
Private Member Functions | |
CWVRMethod () | |
CWVRMethod (const CWVRMethod &) | |
CWVRMethod & | operator= (const CWVRMethod &) |
CWVRMethod () | |
CWVRMethod (const CWVRMethod &) | |
CWVRMethod & | operator= (const CWVRMethod &) |
Static Private Member Functions | |
static std::string | badString (const std::string &name) |
static std::string | badInt (unsigned int i) |
static std::string | badString (const std::string &name) |
static std::string | badInt (unsigned int i) |
A helper class for the enumeration WVRMethod.
Definition at line 83 of file CWVRMethod.h.
CWVRMethod::CWVRMethod | ( | ) | [private] |
CWVRMethod::CWVRMethod | ( | const CWVRMethod & | ) | [private] |
CWVRMethod::CWVRMethod | ( | ) | [private] |
CWVRMethod::CWVRMethod | ( | const CWVRMethod & | ) | [private] |
static std::string CWVRMethod::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CWVRMethod::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CWVRMethod::badString | ( | const std::string & | name | ) | [static, private] |
static std::string CWVRMethod::badString | ( | const std::string & | name | ) | [static, private] |
static WVRMethodMod::WVRMethod CWVRMethod::from_int | ( | unsigned int | i | ) | [static] |
Return a WVRMethod's enumerator given an unsigned int.
i | the index of the enumerator in WVRMethodMod::WVRMethod. |
a | string containing an error message if no enumerator could be found for this integer. |
static WVRMethodMod::WVRMethod CWVRMethod::from_int | ( | unsigned int | i | ) | [static] |
Return a WVRMethod's enumerator given an unsigned int.
i | the index of the enumerator in WVRMethodMod::WVRMethod. |
a | string containing an error message if no enumerator could be found for this integer. |
static WVRMethodMod::WVRMethod CWVRMethod::literal | ( | const std::string & | name | ) | [static] |
Return a WVRMethod's enumerator given a string.
name | the string representation of the enumerator. |
a | string containing an error message if no enumerator could be found for this name. |
static WVRMethodMod::WVRMethod CWVRMethod::literal | ( | const std::string & | name | ) | [static] |
Return a WVRMethod's enumerator given a string.
name | the string representation of the enumerator. |
a | string containing an error message if no enumerator could be found for this name. |
static std::string CWVRMethod::name | ( | const WVRMethodMod::WVRMethod & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of WVRMethodMod::WVRMethod. |
static std::string CWVRMethod::name | ( | const WVRMethodMod::WVRMethod & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of WVRMethodMod::WVRMethod. |
static const std::vector<std::string> CWVRMethod::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.
static const std::vector<std::string> CWVRMethod::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.
static WVRMethodMod::WVRMethod CWVRMethod::newWVRMethod | ( | const std::string & | name | ) | [static] |
Create a WVRMethod enumeration object by specifying its name.
static WVRMethodMod::WVRMethod CWVRMethod::newWVRMethod | ( | const std::string & | name | ) | [static] |
Create a WVRMethod enumeration object by specifying its name.
CWVRMethod& CWVRMethod::operator= | ( | const CWVRMethod & | ) | [private] |
CWVRMethod& CWVRMethod::operator= | ( | const CWVRMethod & | ) | [private] |
static std::string CWVRMethod::revision | ( | ) | [static] |
Return the revision as a string.
static std::string CWVRMethod::revision | ( | ) | [static] |
Return the revision as a string.
static unsigned int CWVRMethod::size | ( | ) | [static] |
Return the number of enumerators declared in WVRMethodMod::WVRMethod.
static unsigned int CWVRMethod::size | ( | ) | [static] |
Return the number of enumerators declared in WVRMethodMod::WVRMethod.
static std::string CWVRMethod::toString | ( | const WVRMethodMod::WVRMethod & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 127 of file CWVRMethod.h.
static std::string CWVRMethod::toString | ( | const WVRMethodMod::WVRMethod & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 127 of file CWVRMethod.h.
static int CWVRMethod::version | ( | ) | [static] |
Return the major version number as an int.
static int CWVRMethod::version | ( | ) | [static] |
Return the major version number as an int.
static const std::string & CWVRMethod::sATM_MODEL [static] |
Enumerators as strings.
A const string equal to "ATM_MODEL".
Definition at line 90 of file CWVRMethod.h.
static const std::string & CWVRMethod::sEMPIRICAL [static] |
A const string equal to "EMPIRICAL".
Definition at line 92 of file CWVRMethod.h.