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