casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions
CInvalidatingCondition Class Reference

A helper class for the enumeration InvalidatingCondition. More...

#include <CInvalidatingCondition.h>

List of all members.

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 &)
CInvalidatingConditionoperator= (const CInvalidatingCondition &)
 CInvalidatingCondition ()
 CInvalidatingCondition (const CInvalidatingCondition &)
CInvalidatingConditionoperator= (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)

Detailed Description

A helper class for the enumeration InvalidatingCondition.

Definition at line 89 of file CInvalidatingCondition.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
ithe index of the enumerator in InvalidatingConditionMod::InvalidatingCondition.
Returns:
a InvalidatingConditionMod::InvalidatingCondition's enumerator.
Exceptions:
astring 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.

Parameters:
ithe index of the enumerator in InvalidatingConditionMod::InvalidatingCondition.
Returns:
a InvalidatingConditionMod::InvalidatingCondition's enumerator.
Exceptions:
astring 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.

Parameters:
namethe string representation of the enumerator.
Returns:
a InvalidatingConditionMod::InvalidatingCondition's enumerator.
Exceptions:
astring 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.

Parameters:
namethe string representation of the enumerator.
Returns:
a InvalidatingConditionMod::InvalidatingCondition's enumerator.
Exceptions:
astring 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.

Parameters:
ean enumerator of InvalidatingConditionMod::InvalidatingCondition.
Returns:
a string.
static std::string CInvalidatingCondition::name ( const InvalidatingConditionMod::InvalidatingCondition &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of InvalidatingConditionMod::InvalidatingCondition.
Returns:
a string.
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.

Returns:
a vector of string.
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.

Returns:
a vector of string.
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.

Returns:
a string
static std::string CInvalidatingCondition::revision ( ) [static]

Return the revision as a string.

Returns:
a string
static unsigned int CInvalidatingCondition::size ( ) [static]

Return the number of enumerators declared in InvalidatingConditionMod::InvalidatingCondition.

Returns:
an unsigned int.
static unsigned int CInvalidatingCondition::size ( ) [static]

Return the number of enumerators declared in InvalidatingConditionMod::InvalidatingCondition.

Returns:
an unsigned int.
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.

Returns:
an int.
static int CInvalidatingCondition::version ( ) [static]

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

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.


The documentation for this class was generated from the following files: