2 #ifndef CBasebandName_H
3 #define CBasebandName_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace BasebandNameMod
59 const char *
const revision =
"-1";
60 const int version = 1;
97 typedef BasebandName &BasebandName_out;
101 namespace BasebandNameMod {
117 static const std::string&
sNOBB;
119 static const std::string&
sBB_1;
121 static const std::string&
sBB_2;
123 static const std::string&
sBB_3;
125 static const std::string&
sBB_4;
127 static const std::string&
sBB_5;
129 static const std::string&
sBB_6;
131 static const std::string&
sBB_7;
133 static const std::string&
sBB_8;
135 static const std::string&
sBB_ALL;
169 static unsigned int size() ;
177 static std::string
name(
const BasebandNameMod::BasebandName&
e);
182 static std::string
toString(
const BasebandNameMod::BasebandName& f) {
return name(f); }
189 static const std::vector<std::string>
names();
200 static BasebandNameMod::BasebandName
literal(
const std::string&
name);
207 static BasebandNameMod::BasebandName
from_int(
unsigned int i);
217 static std::string
badInt(
unsigned int i) ;
static BasebandNameMod::BasebandName newBasebandName(const std::string &name)
Create a BasebandName enumeration object by specifying its name.
static unsigned int size()
Return the number of enumerators declared in BasebandNameMod::BasebandName.
static const std::string & sBB_4
static const std::string & sBD_8BIT
static const std::string & sAC_8BIT
static BasebandNameMod::BasebandName from_int(unsigned int i)
static const std::string & sNOBB
Enumerators as strings.
static const std::string & sBB_7
static std::string badInt(unsigned int i)
static const std::string & sBB_8
static std::string badString(const std::string &name)
static const std::string & sBB_6
static const std::string & sBB_ALL
A helper class for the enumeration BasebandName.
static const std::string & sB2D2_3BIT
static std::string revision()
Return the revision as a string.
static const std::string & sA2C2_3BIT
static std::string toString(const BasebandNameMod::BasebandName &f)
Equivalent to the name method.
static const std::string & sBB_1
static const std::string & sBB_3
static int version()
Return the major version number as an int.
const Double e
e and functions thereof:
static const std::string & sB1D1_3BIT
static std::string name(const BasebandNameMod::BasebandName &e)
Returns an enumerator as a string.
std::istream & operator>>(std::istream &in, BasebandName &value)
static const std::string & sA1C1_3BIT
static BasebandNameMod::BasebandName literal(const std::string &name)
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
std::ostream & operator<<(std::ostream &out, const BasebandName &value)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
CBasebandName & operator=(const CBasebandName &)
static const std::string & sBB_5
static const std::string & sBB_2