A helper class for the enumeration BasebandName.
More...
#include <CBasebandName.h>
|
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 BasebandNameMod::BasebandName. More...
|
|
static std::string | name (const BasebandNameMod::BasebandName &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const BasebandNameMod::BasebandName &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
BasebandNameMod::BasebandName | newBasebandName (const std::string &name) |
| Create a BasebandName enumeration object by specifying its name. More...
|
|
static
BasebandNameMod::BasebandName | literal (const std::string &name) |
|
static
BasebandNameMod::BasebandName | from_int (unsigned int i) |
|
|
static const std::string & | sNOBB |
| Enumerators as strings. More...
|
|
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 |
|
|
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 |
static std::string CBasebandName::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CBasebandName::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static BasebandNameMod::BasebandName CBasebandName::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a BasebandName's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in BasebandNameMod::BasebandName. |
- Returns
- a BasebandNameMod::BasebandName's enumerator.
- Exceptions
-
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.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a BasebandNameMod::BasebandName's enumerator.
- Exceptions
-
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.
- Parameters
-
e | an enumerator of BasebandNameMod::BasebandName. |
- Returns
- a string.
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.
- Returns
- a vector of string.
static BasebandNameMod::BasebandName CBasebandName::newBasebandName |
( |
const std::string & |
name | ) |
|
|
static |
Create a BasebandName enumeration object by specifying its name.
static std::string CBasebandName::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CBasebandName::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in BasebandNameMod::BasebandName.
- Returns
- an unsigned int.
static std::string CBasebandName::toString |
( |
const BasebandNameMod::BasebandName & |
f | ) |
|
|
inlinestatic |
static int CBasebandName::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CBasebandName::sA1C1_3BIT |
|
static |
const std::string& CBasebandName::sA2C2_3BIT |
|
static |
const std::string& CBasebandName::sAC_8BIT |
|
static |
const std::string& CBasebandName::sB1D1_3BIT |
|
static |
const std::string& CBasebandName::sB2D2_3BIT |
|
static |
const std::string& CBasebandName::sBB_1 |
|
static |
const std::string& CBasebandName::sBB_2 |
|
static |
const std::string& CBasebandName::sBB_3 |
|
static |
const std::string& CBasebandName::sBB_4 |
|
static |
const std::string& CBasebandName::sBB_5 |
|
static |
const std::string& CBasebandName::sBB_6 |
|
static |
const std::string& CBasebandName::sBB_7 |
|
static |
const std::string& CBasebandName::sBB_8 |
|
static |
const std::string& CBasebandName::sBB_ALL |
|
static |
const std::string& CBasebandName::sBD_8BIT |
|
static |
const std::string& CBasebandName::sNOBB |
|
static |
Enumerators as strings.
A const string equal to "NOBB".
Definition at line 118 of file CBasebandName.h.
The documentation for this class was generated from the following file: