casa
$Rev:20696$
|
A helper class for the enumeration InvalidatingCondition. More...
#include <CInvalidatingCondition.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 InvalidatingConditionMod::InvalidatingCondition. | |
static std::string | name (const InvalidatingConditionMod::InvalidatingCondition &e) |
Returns an enumerator as a string. | |
static std::string | toString (const InvalidatingConditionMod::InvalidatingCondition &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static InvalidatingConditionMod::InvalidatingCondition | newInvalidatingCondition (const std::string &name) |
Create a InvalidatingCondition enumeration object by specifying its name. | |
static InvalidatingConditionMod::InvalidatingCondition | literal (const std::string &name) |
static InvalidatingConditionMod::InvalidatingCondition | 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 InvalidatingConditionMod::InvalidatingCondition. | |
static std::string | name (const InvalidatingConditionMod::InvalidatingCondition &e) |
Returns an enumerator as a string. | |
static std::string | toString (const InvalidatingConditionMod::InvalidatingCondition &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static InvalidatingConditionMod::InvalidatingCondition | newInvalidatingCondition (const std::string &name) |
Create a InvalidatingCondition enumeration object by specifying its name. | |
static InvalidatingConditionMod::InvalidatingCondition | literal (const std::string &name) |
static InvalidatingConditionMod::InvalidatingCondition | from_int (unsigned int i) |
Static Public Attributes | |
static const std::string & | sANTENNA_DISCONNECT |
Enumerators as strings. | |
static const std::string & | sANTENNA_MOVE |
static const std::string & | sANTENNA_POWER_DOWN |
static const std::string & | sRECEIVER_EXCHANGE |
static const std::string & | sRECEIVER_POWER_DOWN |
Private Member Functions | |
CInvalidatingCondition () | |
CInvalidatingCondition (const CInvalidatingCondition &) | |
CInvalidatingCondition & | operator= (const CInvalidatingCondition &) |
CInvalidatingCondition () | |
CInvalidatingCondition (const CInvalidatingCondition &) | |
CInvalidatingCondition & | operator= (const CInvalidatingCondition &) |
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 InvalidatingCondition.
Definition at line 89 of file CInvalidatingCondition.h.
CInvalidatingCondition::CInvalidatingCondition | ( | ) | [private] |
CInvalidatingCondition::CInvalidatingCondition | ( | const CInvalidatingCondition & | ) | [private] |
CInvalidatingCondition::CInvalidatingCondition | ( | ) | [private] |
CInvalidatingCondition::CInvalidatingCondition | ( | const CInvalidatingCondition & | ) | [private] |
static std::string CInvalidatingCondition::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CInvalidatingCondition::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CInvalidatingCondition::badString | ( | const std::string & | name | ) | [static, private] |
static std::string CInvalidatingCondition::badString | ( | const std::string & | name | ) | [static, private] |
static InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::from_int | ( | unsigned int | i | ) | [static] |
Return a InvalidatingCondition's enumerator given an unsigned int.
i | the index of the enumerator in InvalidatingConditionMod::InvalidatingCondition. |
a | string containing an error message if no enumerator could be found for this integer. |
static InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::from_int | ( | unsigned int | i | ) | [static] |
Return a InvalidatingCondition's enumerator given an unsigned int.
i | the index of the enumerator in InvalidatingConditionMod::InvalidatingCondition. |
a | string containing an error message if no enumerator could be found for this integer. |
static InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::literal | ( | const std::string & | name | ) | [static] |
Return a InvalidatingCondition'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 InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::literal | ( | const std::string & | name | ) | [static] |
Return a InvalidatingCondition'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 CInvalidatingCondition::name | ( | const InvalidatingConditionMod::InvalidatingCondition & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of InvalidatingConditionMod::InvalidatingCondition. |
static std::string CInvalidatingCondition::name | ( | const InvalidatingConditionMod::InvalidatingCondition & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of InvalidatingConditionMod::InvalidatingCondition. |
static const std::vector<std::string> CInvalidatingCondition::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> CInvalidatingCondition::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 InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::newInvalidatingCondition | ( | const std::string & | name | ) | [static] |
Create a InvalidatingCondition enumeration object by specifying its name.
static InvalidatingConditionMod::InvalidatingCondition CInvalidatingCondition::newInvalidatingCondition | ( | const std::string & | name | ) | [static] |
Create a InvalidatingCondition enumeration object by specifying its name.
CInvalidatingCondition& CInvalidatingCondition::operator= | ( | const CInvalidatingCondition & | ) | [private] |
CInvalidatingCondition& CInvalidatingCondition::operator= | ( | const CInvalidatingCondition & | ) | [private] |
static std::string CInvalidatingCondition::revision | ( | ) | [static] |
Return the revision as a string.
static std::string CInvalidatingCondition::revision | ( | ) | [static] |
Return the revision as a string.
static unsigned int CInvalidatingCondition::size | ( | ) | [static] |
Return the number of enumerators declared in InvalidatingConditionMod::InvalidatingCondition.
static unsigned int CInvalidatingCondition::size | ( | ) | [static] |
Return the number of enumerators declared in InvalidatingConditionMod::InvalidatingCondition.
static std::string CInvalidatingCondition::toString | ( | const InvalidatingConditionMod::InvalidatingCondition & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 139 of file CInvalidatingCondition.h.
static std::string CInvalidatingCondition::toString | ( | const InvalidatingConditionMod::InvalidatingCondition & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 139 of file CInvalidatingCondition.h.
static int CInvalidatingCondition::version | ( | ) | [static] |
Return the major version number as an int.
static int CInvalidatingCondition::version | ( | ) | [static] |
Return the major version number as an int.
static const std::string & CInvalidatingCondition::sANTENNA_DISCONNECT [static] |
Enumerators as strings.
A const string equal to "ANTENNA_DISCONNECT".
Definition at line 96 of file CInvalidatingCondition.h.
static const std::string & CInvalidatingCondition::sANTENNA_MOVE [static] |
A const string equal to "ANTENNA_MOVE".
Definition at line 98 of file CInvalidatingCondition.h.
static const std::string & CInvalidatingCondition::sANTENNA_POWER_DOWN [static] |
A const string equal to "ANTENNA_POWER_DOWN".
Definition at line 100 of file CInvalidatingCondition.h.
static const std::string & CInvalidatingCondition::sRECEIVER_EXCHANGE [static] |
A const string equal to "RECEIVER_EXCHANGE".
Definition at line 102 of file CInvalidatingCondition.h.
static const std::string & CInvalidatingCondition::sRECEIVER_POWER_DOWN [static] |
A const string equal to "RECEIVER_POWER_DOWN".
Definition at line 104 of file CInvalidatingCondition.h.