casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | List of all members
CAntennaMake Class Reference

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

#include <CAntennaMake.h>

Static Public Member Functions

static int version ()
 Return the major version number as an int. More...
 
static std::string revision ()
 Return the revision as a string. More...
 
static unsigned int size ()
 Return the number of enumerators declared in AntennaMakeMod::AntennaMake. More...
 
static std::string name (const AntennaMakeMod::AntennaMake &e)
 Returns an enumerator as a string. More...
 
static std::string toString (const AntennaMakeMod::AntennaMake &f)
 Equivalent to the name method. More...
 
static const std::vector
< std::string > 
names ()
 Returns vector of all the enumerators as strings. More...
 
static AntennaMakeMod::AntennaMake newAntennaMake (const std::string &name)
 Create a AntennaMake enumeration object by specifying its name. More...
 
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. More...
 
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 &)
 

Static Private Member Functions

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 ( )
private
CAntennaMake::CAntennaMake ( const CAntennaMake )
private

Member Function Documentation

static std::string CAntennaMake::badInt ( unsigned int  i)
staticprivate
static std::string CAntennaMake::badString ( const std::string &  name)
staticprivate
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 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 AntennaMakeMod::AntennaMake CAntennaMake::newAntennaMake ( const std::string &  name)
static

Create a AntennaMake enumeration object by specifying its name.

CAntennaMake& CAntennaMake::operator= ( const CAntennaMake )
private
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 std::string CAntennaMake::toString ( const AntennaMakeMod::AntennaMake &  f)
inlinestatic

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.

Member Data Documentation

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.

const std::string& CAntennaMake::sAEM_12_ATF
static

A const string equal to "AEM_12_ATF".

Definition at line 114 of file CAntennaMake.h.

const std::string& CAntennaMake::sIRAM_15
static

A const string equal to "IRAM_15".

Definition at line 118 of file CAntennaMake.h.

const std::string& CAntennaMake::sMITSUBISHI_12_A
static

A const string equal to "MITSUBISHI_12_A".

Definition at line 108 of file CAntennaMake.h.

const std::string& CAntennaMake::sMITSUBISHI_12_B
static

A const string equal to "MITSUBISHI_12_B".

Definition at line 110 of file CAntennaMake.h.

const std::string& CAntennaMake::sMITSUBISHI_7
static

A const string equal to "MITSUBISHI_7".

Definition at line 106 of file CAntennaMake.h.

const std::string& CAntennaMake::sUNDEFINED
static

A const string equal to "UNDEFINED".

Definition at line 120 of file CAntennaMake.h.

const std::string& CAntennaMake::sVERTEX_12
static

A const string equal to "VERTEX_12".

Definition at line 116 of file CAntennaMake.h.

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 file: