A helper class for the enumeration ACAPolarization.
More...
#include <CACAPolarization.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 ACAPolarizationMod::ACAPolarization. More...
|
|
static std::string | name (const ACAPolarizationMod::ACAPolarization &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const ACAPolarizationMod::ACAPolarization &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
ACAPolarizationMod::ACAPolarization | newACAPolarization (const std::string &name) |
| Create a ACAPolarization enumeration object by specifying its name. More...
|
|
static
ACAPolarizationMod::ACAPolarization | literal (const std::string &name) |
|
static
ACAPolarizationMod::ACAPolarization | from_int (unsigned int i) |
|
|
static std::string | badString (const std::string &name) |
|
static std::string | badInt (unsigned int i) |
|
A helper class for the enumeration ACAPolarization.
Definition at line 87 of file CACAPolarization.h.
CACAPolarization::CACAPolarization |
( |
| ) |
|
|
private |
static std::string CACAPolarization::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CACAPolarization::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static ACAPolarizationMod::ACAPolarization CACAPolarization::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a ACAPolarization's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in ACAPolarizationMod::ACAPolarization. |
- Returns
- a ACAPolarizationMod::ACAPolarization's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static ACAPolarizationMod::ACAPolarization CACAPolarization::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a ACAPolarization's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a ACAPolarizationMod::ACAPolarization's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CACAPolarization::name |
( |
const ACAPolarizationMod::ACAPolarization & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of ACAPolarizationMod::ACAPolarization. |
- Returns
- a string.
static const std::vector<std::string> CACAPolarization::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 ACAPolarizationMod::ACAPolarization CACAPolarization::newACAPolarization |
( |
const std::string & |
name | ) |
|
|
static |
Create a ACAPolarization enumeration object by specifying its name.
static std::string CACAPolarization::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CACAPolarization::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in ACAPolarizationMod::ACAPolarization.
- Returns
- an unsigned int.
static std::string CACAPolarization::toString |
( |
const ACAPolarizationMod::ACAPolarization & |
f | ) |
|
|
inlinestatic |
static int CACAPolarization::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CACAPolarization::sACA_STANDARD |
|
static |
Enumerators as strings.
A const string equal to "ACA_STANDARD".
Definition at line 94 of file CACAPolarization.h.
const std::string& CACAPolarization::sACA_XX_50 |
|
static |
const std::string& CACAPolarization::sACA_XX_YY_SUM |
|
static |
const std::string& CACAPolarization::sACA_YY_50 |
|
static |
The documentation for this class was generated from the following file: