casa
$Rev:20696$
|
A helper class for the enumeration BasebandName. More...
#include <CBasebandName.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 BasebandNameMod::BasebandName. | |
static std::string | name (const BasebandNameMod::BasebandName &e) |
Returns an enumerator as a string. | |
static std::string | toString (const BasebandNameMod::BasebandName &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static BasebandNameMod::BasebandName | newBasebandName (const std::string &name) |
Create a BasebandName enumeration object by specifying its name. | |
static BasebandNameMod::BasebandName | literal (const std::string &name) |
static BasebandNameMod::BasebandName | 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 BasebandNameMod::BasebandName. | |
static std::string | name (const BasebandNameMod::BasebandName &e) |
Returns an enumerator as a string. | |
static std::string | toString (const BasebandNameMod::BasebandName &f) |
Equivalent to the name method. | |
static const std::vector < std::string > | names () |
Returns vector of all the enumerators as strings. | |
static BasebandNameMod::BasebandName | newBasebandName (const std::string &name) |
Create a BasebandName enumeration object by specifying its name. | |
static BasebandNameMod::BasebandName | literal (const std::string &name) |
static BasebandNameMod::BasebandName | from_int (unsigned int i) |
Static Public Attributes | |
static const std::string & | sNOBB |
Enumerators as strings. | |
static const std::string & | sBB_1 |
static const std::string & | sBB_2 |
static const std::string & | sBB_3 |
static const std::string & | sBB_4 |
static const std::string & | sBB_5 |
static const std::string & | sBB_6 |
static const std::string & | sBB_7 |
static const std::string & | sBB_8 |
static const std::string & | sBB_ALL |
static const std::string & | sA1C1_3BIT |
static const std::string & | sA2C2_3BIT |
static const std::string & | sAC_8BIT |
static const std::string & | sB1D1_3BIT |
static const std::string & | sB2D2_3BIT |
static const std::string & | sBD_8BIT |
Private Member Functions | |
CBasebandName () | |
CBasebandName (const CBasebandName &) | |
CBasebandName & | operator= (const CBasebandName &) |
CBasebandName () | |
CBasebandName (const CBasebandName &) | |
CBasebandName & | operator= (const CBasebandName &) |
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 BasebandName.
Definition at line 111 of file CBasebandName.h.
CBasebandName::CBasebandName | ( | ) | [private] |
CBasebandName::CBasebandName | ( | const CBasebandName & | ) | [private] |
CBasebandName::CBasebandName | ( | ) | [private] |
CBasebandName::CBasebandName | ( | const CBasebandName & | ) | [private] |
static std::string CBasebandName::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CBasebandName::badInt | ( | unsigned int | i | ) | [static, private] |
static std::string CBasebandName::badString | ( | const std::string & | name | ) | [static, private] |
static std::string CBasebandName::badString | ( | const std::string & | name | ) | [static, private] |
static BasebandNameMod::BasebandName CBasebandName::from_int | ( | unsigned int | i | ) | [static] |
Return a BasebandName's enumerator given an unsigned int.
i | the index of the enumerator in BasebandNameMod::BasebandName. |
a | string containing an error message if no enumerator could be found for this integer. |
static BasebandNameMod::BasebandName CBasebandName::from_int | ( | unsigned int | i | ) | [static] |
Return a BasebandName's enumerator given an unsigned int.
i | the index of the enumerator in BasebandNameMod::BasebandName. |
a | string containing an error message if no enumerator could be found for this integer. |
static BasebandNameMod::BasebandName CBasebandName::literal | ( | const std::string & | name | ) | [static] |
Return a BasebandName'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 BasebandNameMod::BasebandName CBasebandName::literal | ( | const std::string & | name | ) | [static] |
Return a BasebandName'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 CBasebandName::name | ( | const BasebandNameMod::BasebandName & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of BasebandNameMod::BasebandName. |
static std::string CBasebandName::name | ( | const BasebandNameMod::BasebandName & | e | ) | [static] |
Returns an enumerator as a string.
e | an enumerator of BasebandNameMod::BasebandName. |
static const std::vector<std::string> CBasebandName::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> CBasebandName::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 BasebandNameMod::BasebandName CBasebandName::newBasebandName | ( | const std::string & | name | ) | [static] |
Create a BasebandName enumeration object by specifying its name.
static BasebandNameMod::BasebandName CBasebandName::newBasebandName | ( | const std::string & | name | ) | [static] |
Create a BasebandName enumeration object by specifying its name.
CBasebandName& CBasebandName::operator= | ( | const CBasebandName & | ) | [private] |
CBasebandName& CBasebandName::operator= | ( | const CBasebandName & | ) | [private] |
static std::string CBasebandName::revision | ( | ) | [static] |
Return the revision as a string.
static std::string CBasebandName::revision | ( | ) | [static] |
Return the revision as a string.
static unsigned int CBasebandName::size | ( | ) | [static] |
Return the number of enumerators declared in BasebandNameMod::BasebandName.
static unsigned int CBasebandName::size | ( | ) | [static] |
Return the number of enumerators declared in BasebandNameMod::BasebandName.
static std::string CBasebandName::toString | ( | const BasebandNameMod::BasebandName & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 183 of file CBasebandName.h.
static std::string CBasebandName::toString | ( | const BasebandNameMod::BasebandName & | f | ) | [inline, static] |
Equivalent to the name method.
Definition at line 183 of file CBasebandName.h.
static int CBasebandName::version | ( | ) | [static] |
Return the major version number as an int.
static int CBasebandName::version | ( | ) | [static] |
Return the major version number as an int.
static const std::string & CBasebandName::sA1C1_3BIT [static] |
A const string equal to "A1C1_3BIT".
Definition at line 138 of file CBasebandName.h.
static const std::string & CBasebandName::sA2C2_3BIT [static] |
A const string equal to "A2C2_3BIT".
Definition at line 140 of file CBasebandName.h.
static const std::string & CBasebandName::sAC_8BIT [static] |
A const string equal to "AC_8BIT".
Definition at line 142 of file CBasebandName.h.
static const std::string & CBasebandName::sB1D1_3BIT [static] |
A const string equal to "B1D1_3BIT".
Definition at line 144 of file CBasebandName.h.
static const std::string & CBasebandName::sB2D2_3BIT [static] |
A const string equal to "B2D2_3BIT".
Definition at line 146 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_1 [static] |
A const string equal to "BB_1".
Definition at line 120 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_2 [static] |
A const string equal to "BB_2".
Definition at line 122 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_3 [static] |
A const string equal to "BB_3".
Definition at line 124 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_4 [static] |
A const string equal to "BB_4".
Definition at line 126 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_5 [static] |
A const string equal to "BB_5".
Definition at line 128 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_6 [static] |
A const string equal to "BB_6".
Definition at line 130 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_7 [static] |
A const string equal to "BB_7".
Definition at line 132 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_8 [static] |
A const string equal to "BB_8".
Definition at line 134 of file CBasebandName.h.
static const std::string & CBasebandName::sBB_ALL [static] |
A const string equal to "BB_ALL".
Definition at line 136 of file CBasebandName.h.
static const std::string & CBasebandName::sBD_8BIT [static] |
A const string equal to "BD_8BIT".
Definition at line 148 of file CBasebandName.h.
static const std::string & CBasebandName::sNOBB [static] |
Enumerators as strings.
A const string equal to "NOBB".
Definition at line 118 of file CBasebandName.h.