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
CAntennaMake Class Reference

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

#include <CAntennaMake.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 AntennaMakeMod::AntennaMake.
static std::string name (const AntennaMakeMod::AntennaMake &e)
 Returns an enumerator as a string.
static std::string toString (const AntennaMakeMod::AntennaMake &f)
 Equivalent to the name method.
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings.
static AntennaMakeMod::AntennaMake newAntennaMake (const std::string &name)
 Create a AntennaMake enumeration object by specifying its name.
static AntennaMakeMod::AntennaMake literal (const std::string &name)
static AntennaMakeMod::AntennaMake 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 AntennaMakeMod::AntennaMake.
static std::string name (const AntennaMakeMod::AntennaMake &e)
 Returns an enumerator as a string.
static std::string toString (const AntennaMakeMod::AntennaMake &f)
 Equivalent to the name method.
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings.
static AntennaMakeMod::AntennaMake newAntennaMake (const std::string &name)
 Create a AntennaMake enumeration object by specifying its name.
static AntennaMakeMod::AntennaMake literal (const std::string &name)
static AntennaMakeMod::AntennaMake from_int (unsigned int i)

Static Public Attributes

static const std::string & sAEM_12
 Enumerators as strings.
static const std::string & sMITSUBISHI_7
static const std::string & sMITSUBISHI_12_A
static const std::string & sMITSUBISHI_12_B
static const std::string & sVERTEX_12_ATF
static const std::string & sAEM_12_ATF
static const std::string & sVERTEX_12
static const std::string & sIRAM_15
static const std::string & sUNDEFINED

Private Member Functions

 CAntennaMake ()
 CAntennaMake (const CAntennaMake &)
CAntennaMakeoperator= (const CAntennaMake &)
 CAntennaMake ()
 CAntennaMake (const CAntennaMake &)
CAntennaMakeoperator= (const CAntennaMake &)

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 AntennaMake.

Definition at line 97 of file CAntennaMake.h.


Constructor & Destructor Documentation

CAntennaMake::CAntennaMake ( const CAntennaMake ) [private]
CAntennaMake::CAntennaMake ( const CAntennaMake ) [private]

Member Function Documentation

static std::string CAntennaMake::badInt ( unsigned int  i) [static, private]
static std::string CAntennaMake::badInt ( unsigned int  i) [static, private]
static std::string CAntennaMake::badString ( const std::string &  name) [static, private]
static std::string CAntennaMake::badString ( const std::string &  name) [static, private]
static AntennaMakeMod::AntennaMake CAntennaMake::from_int ( unsigned int  i) [static]

Return a AntennaMake's enumerator given an unsigned int.

Parameters:
ithe index of the enumerator in AntennaMakeMod::AntennaMake.
Returns:
a AntennaMakeMod::AntennaMake's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this integer.
static AntennaMakeMod::AntennaMake CAntennaMake::from_int ( unsigned int  i) [static]

Return a AntennaMake's enumerator given an unsigned int.

Parameters:
ithe index of the enumerator in AntennaMakeMod::AntennaMake.
Returns:
a AntennaMakeMod::AntennaMake's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this integer.
static AntennaMakeMod::AntennaMake CAntennaMake::literal ( const std::string &  name) [static]

Return a AntennaMake's enumerator given a string.

Parameters:
namethe string representation of the enumerator.
Returns:
a AntennaMakeMod::AntennaMake's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this name.
static AntennaMakeMod::AntennaMake CAntennaMake::literal ( const std::string &  name) [static]

Return a AntennaMake's enumerator given a string.

Parameters:
namethe string representation of the enumerator.
Returns:
a AntennaMakeMod::AntennaMake's enumerator.
Exceptions:
astring containing an error message if no enumerator could be found for this name.
static std::string CAntennaMake::name ( const AntennaMakeMod::AntennaMake &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of AntennaMakeMod::AntennaMake.
Returns:
a string.
static std::string CAntennaMake::name ( const AntennaMakeMod::AntennaMake &  e) [static]

Returns an enumerator as a string.

Parameters:
ean enumerator of AntennaMakeMod::AntennaMake.
Returns:
a string.
static const std::vector<std::string> CAntennaMake::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> CAntennaMake::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 AntennaMakeMod::AntennaMake CAntennaMake::newAntennaMake ( const std::string &  name) [static]

Create a AntennaMake enumeration object by specifying its name.

static AntennaMakeMod::AntennaMake CAntennaMake::newAntennaMake ( const std::string &  name) [static]

Create a AntennaMake enumeration object by specifying its name.

CAntennaMake& CAntennaMake::operator= ( const CAntennaMake ) [private]
CAntennaMake& CAntennaMake::operator= ( const CAntennaMake ) [private]
static std::string CAntennaMake::revision ( ) [static]

Return the revision as a string.

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

Return the revision as a string.

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

Return the number of enumerators declared in AntennaMakeMod::AntennaMake.

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

Return the number of enumerators declared in AntennaMakeMod::AntennaMake.

Returns:
an unsigned int.
static std::string CAntennaMake::toString ( const AntennaMakeMod::AntennaMake &  f) [inline, static]

Equivalent to the name method.

Definition at line 155 of file CAntennaMake.h.

static std::string CAntennaMake::toString ( const AntennaMakeMod::AntennaMake &  f) [inline, static]

Equivalent to the name method.

Definition at line 155 of file CAntennaMake.h.

static int CAntennaMake::version ( ) [static]

Return the major version number as an int.

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

Return the major version number as an int.

Returns:
an int.

Member Data Documentation

static const std::string & CAntennaMake::sAEM_12 [static]

Enumerators as strings.

A const string equal to "AEM_12".

Definition at line 104 of file CAntennaMake.h.

static const std::string & CAntennaMake::sAEM_12_ATF [static]

A const string equal to "AEM_12_ATF".

Definition at line 114 of file CAntennaMake.h.

static const std::string & CAntennaMake::sIRAM_15 [static]

A const string equal to "IRAM_15".

Definition at line 118 of file CAntennaMake.h.

static const std::string & CAntennaMake::sMITSUBISHI_12_A [static]

A const string equal to "MITSUBISHI_12_A".

Definition at line 108 of file CAntennaMake.h.

static const std::string & CAntennaMake::sMITSUBISHI_12_B [static]

A const string equal to "MITSUBISHI_12_B".

Definition at line 110 of file CAntennaMake.h.

static const std::string & CAntennaMake::sMITSUBISHI_7 [static]

A const string equal to "MITSUBISHI_7".

Definition at line 106 of file CAntennaMake.h.

static const std::string & CAntennaMake::sUNDEFINED [static]

A const string equal to "UNDEFINED".

Definition at line 120 of file CAntennaMake.h.

static const std::string & CAntennaMake::sVERTEX_12 [static]

A const string equal to "VERTEX_12".

Definition at line 116 of file CAntennaMake.h.

static const std::string & CAntennaMake::sVERTEX_12_ATF [static]

A const string equal to "VERTEX_12_ATF".

Definition at line 112 of file CAntennaMake.h.


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