A helper class for the enumeration StokesParameter.
More...
#include <CStokesParameter.h>
|
static int | version () |
| Return the major version number as an int. More...
|
|
static std::string | revision () |
| Return the revision as a string. More...
|
|
static unsigned int | size () |
| Return the number of enumerators declared in StokesParameterMod::StokesParameter. More...
|
|
static std::string | name (const StokesParameterMod::StokesParameter &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const StokesParameterMod::StokesParameter &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
StokesParameterMod::StokesParameter | newStokesParameter (const std::string &name) |
| Create a StokesParameter enumeration object by specifying its name. More...
|
|
static
StokesParameterMod::StokesParameter | literal (const std::string &name) |
|
static
StokesParameterMod::StokesParameter | from_int (unsigned int i) |
|
|
static const std::string & | sI |
| Enumerators as strings. More...
|
|
static const std::string & | sQ |
|
static const std::string & | sU |
|
static const std::string & | sV |
|
static const std::string & | sRR |
|
static const std::string & | sRL |
|
static const std::string & | sLR |
|
static const std::string & | sLL |
|
static const std::string & | sXX |
|
static const std::string & | sXY |
|
static const std::string & | sYX |
|
static const std::string & | sYY |
|
static const std::string & | sRX |
|
static const std::string & | sRY |
|
static const std::string & | sLX |
|
static const std::string & | sLY |
|
static const std::string & | sXR |
|
static const std::string & | sXL |
|
static const std::string & | sYR |
|
static const std::string & | sYL |
|
static const std::string & | sPP |
|
static const std::string & | sPQ |
|
static const std::string & | sQP |
|
static const std::string & | sQQ |
|
static const std::string & | sRCIRCULAR |
|
static const std::string & | sLCIRCULAR |
|
static const std::string & | sLINEAR |
|
static const std::string & | sPTOTAL |
|
static const std::string & | sPLINEAR |
|
static const std::string & | sPFTOTAL |
|
static const std::string & | sPFLINEAR |
|
static const std::string & | sPANGLE |
|
|
static std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration StokesParameter.
Definition at line 143 of file CStokesParameter.h.
CStokesParameter::CStokesParameter |
( |
| ) |
|
|
private |
static std::string CStokesParameter::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CStokesParameter::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static StokesParameterMod::StokesParameter CStokesParameter::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a StokesParameter's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in StokesParameterMod::StokesParameter. |
- Returns
- a StokesParameterMod::StokesParameter's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static StokesParameterMod::StokesParameter CStokesParameter::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a StokesParameter's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a StokesParameterMod::StokesParameter's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CStokesParameter::name |
( |
const StokesParameterMod::StokesParameter & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of StokesParameterMod::StokesParameter. |
- Returns
- a string.
static const std::vector<std::string> CStokesParameter::names |
( |
| ) |
|
|
static |
Returns vector of all the enumerators as strings.
The strings are stored in the vector in the same order than the enumerators are declared in the enumeration.
- Returns
- a vector of string.
static StokesParameterMod::StokesParameter CStokesParameter::newStokesParameter |
( |
const std::string & |
name | ) |
|
|
static |
Create a StokesParameter enumeration object by specifying its name.
static std::string CStokesParameter::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CStokesParameter::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in StokesParameterMod::StokesParameter.
- Returns
- an unsigned int.
static std::string CStokesParameter::toString |
( |
const StokesParameterMod::StokesParameter & |
f | ) |
|
|
inlinestatic |
static int CStokesParameter::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CStokesParameter::sI |
|
static |
const std::string& CStokesParameter::sLCIRCULAR |
|
static |
const std::string& CStokesParameter::sLINEAR |
|
static |
const std::string& CStokesParameter::sLL |
|
static |
const std::string& CStokesParameter::sLR |
|
static |
const std::string& CStokesParameter::sLX |
|
static |
const std::string& CStokesParameter::sLY |
|
static |
const std::string& CStokesParameter::sPANGLE |
|
static |
const std::string& CStokesParameter::sPFLINEAR |
|
static |
const std::string& CStokesParameter::sPFTOTAL |
|
static |
const std::string& CStokesParameter::sPLINEAR |
|
static |
const std::string& CStokesParameter::sPP |
|
static |
const std::string& CStokesParameter::sPQ |
|
static |
const std::string& CStokesParameter::sPTOTAL |
|
static |
const std::string& CStokesParameter::sQ |
|
static |
const std::string& CStokesParameter::sQP |
|
static |
const std::string& CStokesParameter::sQQ |
|
static |
const std::string& CStokesParameter::sRCIRCULAR |
|
static |
const std::string& CStokesParameter::sRL |
|
static |
const std::string& CStokesParameter::sRR |
|
static |
const std::string& CStokesParameter::sRX |
|
static |
const std::string& CStokesParameter::sRY |
|
static |
const std::string& CStokesParameter::sU |
|
static |
const std::string& CStokesParameter::sV |
|
static |
const std::string& CStokesParameter::sXL |
|
static |
const std::string& CStokesParameter::sXR |
|
static |
const std::string& CStokesParameter::sXX |
|
static |
const std::string& CStokesParameter::sXY |
|
static |
const std::string& CStokesParameter::sYL |
|
static |
const std::string& CStokesParameter::sYR |
|
static |
const std::string& CStokesParameter::sYX |
|
static |
const std::string& CStokesParameter::sYY |
|
static |
The documentation for this class was generated from the following file: