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

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. 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 Public Attributes

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
 

Private Member Functions

 CBasebandName ()
 
 CBasebandName (const CBasebandName &)
 
CBasebandNameoperator= (const CBasebandName &)
 

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

Definition at line 111 of file CBasebandName.h.

Constructor & Destructor Documentation

CBasebandName::CBasebandName ( )
private
CBasebandName::CBasebandName ( const CBasebandName )
private

Member Function Documentation

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
ithe index of the enumerator in BasebandNameMod::BasebandName.
Returns
a BasebandNameMod::BasebandName's enumerator.
Exceptions
astring 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
namethe string representation of the enumerator.
Returns
a BasebandNameMod::BasebandName's enumerator.
Exceptions
astring 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
ean 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.

CBasebandName& CBasebandName::operator= ( const CBasebandName )
private
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

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.

Returns
an int.

Member Data Documentation

const std::string& CBasebandName::sA1C1_3BIT
static

A const string equal to "A1C1_3BIT".

Definition at line 138 of file CBasebandName.h.

const std::string& CBasebandName::sA2C2_3BIT
static

A const string equal to "A2C2_3BIT".

Definition at line 140 of file CBasebandName.h.

const std::string& CBasebandName::sAC_8BIT
static

A const string equal to "AC_8BIT".

Definition at line 142 of file CBasebandName.h.

const std::string& CBasebandName::sB1D1_3BIT
static

A const string equal to "B1D1_3BIT".

Definition at line 144 of file CBasebandName.h.

const std::string& CBasebandName::sB2D2_3BIT
static

A const string equal to "B2D2_3BIT".

Definition at line 146 of file CBasebandName.h.

const std::string& CBasebandName::sBB_1
static

A const string equal to "BB_1".

Definition at line 120 of file CBasebandName.h.

const std::string& CBasebandName::sBB_2
static

A const string equal to "BB_2".

Definition at line 122 of file CBasebandName.h.

const std::string& CBasebandName::sBB_3
static

A const string equal to "BB_3".

Definition at line 124 of file CBasebandName.h.

const std::string& CBasebandName::sBB_4
static

A const string equal to "BB_4".

Definition at line 126 of file CBasebandName.h.

const std::string& CBasebandName::sBB_5
static

A const string equal to "BB_5".

Definition at line 128 of file CBasebandName.h.

const std::string& CBasebandName::sBB_6
static

A const string equal to "BB_6".

Definition at line 130 of file CBasebandName.h.

const std::string& CBasebandName::sBB_7
static

A const string equal to "BB_7".

Definition at line 132 of file CBasebandName.h.

const std::string& CBasebandName::sBB_8
static

A const string equal to "BB_8".

Definition at line 134 of file CBasebandName.h.

const std::string& CBasebandName::sBB_ALL
static

A const string equal to "BB_ALL".

Definition at line 136 of file CBasebandName.h.

const std::string& CBasebandName::sBD_8BIT
static

A const string equal to "BD_8BIT".

Definition at line 148 of file CBasebandName.h.

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: