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