40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace NetSidebandMod
59 const char *
const revision =
"-1";
60 const int version = 1;
73 typedef NetSideband &NetSideband_out;
77 namespace NetSidebandMod {
93 static const std::string&
sNOSB;
95 static const std::string&
sLSB;
97 static const std::string&
sUSB;
99 static const std::string&
sDSB;
121 static unsigned int size() ;
129 static std::string
name(
const NetSidebandMod::NetSideband&
e);
134 static std::string
toString(
const NetSidebandMod::NetSideband& f) {
return name(f); }
141 static const std::vector<std::string>
names();
152 static NetSidebandMod::NetSideband
literal(
const std::string&
name);
159 static NetSidebandMod::NetSideband
from_int(
unsigned int i);
169 static std::string
badInt(
unsigned int i) ;
std::ostream & operator<<(std::ostream &out, const NetSideband &value)
static NetSidebandMod::NetSideband from_int(unsigned int i)
static NetSidebandMod::NetSideband newNetSideband(const std::string &name)
Create a NetSideband enumeration object by specifying its name.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
CNetSideband & operator=(const CNetSideband &)
static const std::string & sNOSB
Enumerators as strings.
static const std::string & sLSB
static const std::string & sDSB
static const std::string & sUSB
static std::string badInt(unsigned int i)
std::istream & operator>>(std::istream &in, NetSideband &value)
static std::string toString(const NetSidebandMod::NetSideband &f)
Equivalent to the name method.
static NetSidebandMod::NetSideband literal(const std::string &name)
static std::string name(const NetSidebandMod::NetSideband &e)
Returns an enumerator as a string.
static std::string badString(const std::string &name)
const Double e
e and functions thereof:
static unsigned int size()
Return the number of enumerators declared in NetSidebandMod::NetSideband.
static std::string revision()
Return the revision as a string.
static int version()
Return the major version number as an int.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
A helper class for the enumeration NetSideband.