2 #ifndef CSidebandProcessingMode_H
3 #define CSidebandProcessingMode_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace SidebandProcessingModeMod
59 const char *
const revision =
"-1";
60 const int version = 1;
62 enum SidebandProcessingMode
66 PHASE_SWITCH_SEPARATION
68 FREQUENCY_OFFSET_SEPARATION
70 PHASE_SWITCH_REJECTION
72 FREQUENCY_OFFSET_REJECTION
75 typedef SidebandProcessingMode &SidebandProcessingMode_out;
79 namespace SidebandProcessingModeMod {
81 std::istream &
operator >> ( std::istream & in , SidebandProcessingMode&
value );
95 static const std::string&
sNONE;
125 static unsigned int size() ;
133 static std::string
name(
const SidebandProcessingModeMod::SidebandProcessingMode&
e);
138 static std::string
toString(
const SidebandProcessingModeMod::SidebandProcessingMode& f) {
return name(f); }
145 static const std::vector<std::string>
names();
156 static SidebandProcessingModeMod::SidebandProcessingMode
literal(
const std::string&
name);
163 static SidebandProcessingModeMod::SidebandProcessingMode
from_int(
unsigned int i);
173 static std::string
badInt(
unsigned int i) ;
static std::string badString(const std::string &name)
static const std::string & sPHASE_SWITCH_SEPARATION
static const std::string & sNONE
Enumerators as strings.
static std::string name(const SidebandProcessingModeMod::SidebandProcessingMode &e)
Returns an enumerator as a string.
A helper class for the enumeration SidebandProcessingMode.
static const std::string & sPHASE_SWITCH_REJECTION
static unsigned int size()
Return the number of enumerators declared in SidebandProcessingModeMod::SidebandProcessingMode.
static const std::string & sFREQUENCY_OFFSET_REJECTION
static std::string toString(const SidebandProcessingModeMod::SidebandProcessingMode &f)
Equivalent to the name method.
static std::string revision()
Return the revision as a string.
std::ostream & operator<<(std::ostream &out, const SidebandProcessingMode &value)
static SidebandProcessingModeMod::SidebandProcessingMode newSidebandProcessingMode(const std::string &name)
Create a SidebandProcessingMode enumeration object by specifying its name.
static std::string badInt(unsigned int i)
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static SidebandProcessingModeMod::SidebandProcessingMode from_int(unsigned int i)
static const std::string & sFREQUENCY_OFFSET_SEPARATION
const Double e
e and functions thereof:
CSidebandProcessingMode & operator=(const CSidebandProcessingMode &)
static int version()
Return the major version number as an int.
static SidebandProcessingModeMod::SidebandProcessingMode literal(const std::string &name)
CSidebandProcessingMode()
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
std::istream & operator>>(std::istream &in, SidebandProcessingMode &value)