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

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

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

Static Public Attributes

static const std::string & sNOSB
 Enumerators as strings. More...
 
static const std::string & sDSB
 
static const std::string & sSSB
 
static const std::string & sTSB
 

Private Member Functions

 CReceiverSideband ()
 
 CReceiverSideband (const CReceiverSideband &)
 
CReceiverSidebandoperator= (const CReceiverSideband &)
 

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

Definition at line 87 of file CReceiverSideband.h.

Constructor & Destructor Documentation

CReceiverSideband::CReceiverSideband ( )
private
CReceiverSideband::CReceiverSideband ( const CReceiverSideband )
private

Member Function Documentation

static std::string CReceiverSideband::badInt ( unsigned int  i)
staticprivate
static std::string CReceiverSideband::badString ( const std::string &  name)
staticprivate
static ReceiverSidebandMod::ReceiverSideband CReceiverSideband::from_int ( unsigned int  i)
static

Return a ReceiverSideband's enumerator given an unsigned int.

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

Return a ReceiverSideband's enumerator given a string.

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

Returns an enumerator as a string.

Parameters
ean enumerator of ReceiverSidebandMod::ReceiverSideband.
Returns
a string.
static const std::vector<std::string> CReceiverSideband::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 ReceiverSidebandMod::ReceiverSideband CReceiverSideband::newReceiverSideband ( const std::string &  name)
static

Create a ReceiverSideband enumeration object by specifying its name.

CReceiverSideband& CReceiverSideband::operator= ( const CReceiverSideband )
private
static std::string CReceiverSideband::revision ( )
static

Return the revision as a string.

Returns
a string
static unsigned int CReceiverSideband::size ( )
static

Return the number of enumerators declared in ReceiverSidebandMod::ReceiverSideband.

Returns
an unsigned int.
static std::string CReceiverSideband::toString ( const ReceiverSidebandMod::ReceiverSideband &  f)
inlinestatic

Equivalent to the name method.

Definition at line 135 of file CReceiverSideband.h.

static int CReceiverSideband::version ( )
static

Return the major version number as an int.

Returns
an int.

Member Data Documentation

const std::string& CReceiverSideband::sDSB
static

A const string equal to "DSB".

Definition at line 96 of file CReceiverSideband.h.

const std::string& CReceiverSideband::sNOSB
static

Enumerators as strings.

A const string equal to "NOSB".

Definition at line 94 of file CReceiverSideband.h.

const std::string& CReceiverSideband::sSSB
static

A const string equal to "SSB".

Definition at line 98 of file CReceiverSideband.h.

const std::string& CReceiverSideband::sTSB
static

A const string equal to "TSB".

Definition at line 100 of file CReceiverSideband.h.


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