2 #ifndef CStokesParameter_H
3 #define CStokesParameter_H
40 #error This is a C++ include file and cannot be used from plain C
50 #include <almaEnumerations_IFC.h>
54 namespace StokesParameterMod
59 const char *
const revision =
"-1";
60 const int version = 1;
129 typedef StokesParameter &StokesParameter_out;
133 namespace StokesParameterMod {
149 static const std::string&
sI;
151 static const std::string&
sQ;
153 static const std::string&
sU;
155 static const std::string&
sV;
157 static const std::string&
sRR;
159 static const std::string&
sRL;
161 static const std::string&
sLR;
163 static const std::string&
sLL;
165 static const std::string&
sXX;
167 static const std::string&
sXY;
169 static const std::string&
sYX;
171 static const std::string&
sYY;
173 static const std::string&
sRX;
175 static const std::string&
sRY;
177 static const std::string&
sLX;
179 static const std::string&
sLY;
181 static const std::string&
sXR;
183 static const std::string&
sXL;
185 static const std::string&
sYR;
187 static const std::string&
sYL;
189 static const std::string&
sPP;
191 static const std::string&
sPQ;
193 static const std::string&
sQP;
195 static const std::string&
sQQ;
201 static const std::string&
sLINEAR;
203 static const std::string&
sPTOTAL;
211 static const std::string&
sPANGLE;
233 static unsigned int size() ;
241 static std::string
name(
const StokesParameterMod::StokesParameter&
e);
246 static std::string
toString(
const StokesParameterMod::StokesParameter& f) {
return name(f); }
253 static const std::vector<std::string>
names();
264 static StokesParameterMod::StokesParameter
literal(
const std::string&
name);
271 static StokesParameterMod::StokesParameter
from_int(
unsigned int i);
281 static std::string
badInt(
unsigned int i) ;
A helper class for the enumeration StokesParameter.
static const std::string & sQP
static const std::string & sLY
static const std::string & sLX
static const std::string & sRCIRCULAR
static const std::string & sRY
static const std::string & sPFTOTAL
static StokesParameterMod::StokesParameter newStokesParameter(const std::string &name)
Create a StokesParameter enumeration object by specifying its name.
static const std::string & sPTOTAL
static const std::string & sQQ
static const std::string & sYR
static std::string toString(const StokesParameterMod::StokesParameter &f)
Equivalent to the name method.
static const std::string & sPLINEAR
static const std::string & sI
Enumerators as strings.
static const std::vector< std::string > names()
Returns vector of all the enumerators as strings.
static const std::string & sXL
static const std::string & sYY
static const std::string & sYL
static const std::string & sXR
static const std::string & sU
static const std::string & sRX
static const std::string & sLINEAR
static const std::string & sRL
static const std::string & sXX
static const std::string & sPP
static std::string badString(const std::string &name)
std::istream & operator>>(std::istream &in, StokesParameter &value)
static const std::string & sQ
static const std::string & sYX
static const std::string & sRR
CStokesParameter & operator=(const CStokesParameter &)
std::ostream & operator<<(std::ostream &out, const StokesParameter &value)
static std::string badInt(unsigned int i)
static const std::string & sV
static unsigned int size()
Return the number of enumerators declared in StokesParameterMod::StokesParameter. ...
static StokesParameterMod::StokesParameter literal(const std::string &name)
static std::string name(const StokesParameterMod::StokesParameter &e)
Returns an enumerator as a string.
static StokesParameterMod::StokesParameter from_int(unsigned int i)
const Double e
e and functions thereof:
static const std::string & sPFLINEAR
static std::string revision()
Return the revision as a string.
static const std::string & sXY
static const std::string & sPANGLE
static int version()
Return the major version number as an int.
static const std::string & sLCIRCULAR
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const std::string & sLL
static const std::string & sLR
static const std::string & sPQ