A helper class for the enumeration AntennaMotionPattern.
More...
#include <CAntennaMotionPattern.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 AntennaMotionPatternMod::AntennaMotionPattern. More...
|
|
static std::string | name (const AntennaMotionPatternMod::AntennaMotionPattern &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const AntennaMotionPatternMod::AntennaMotionPattern &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static
AntennaMotionPatternMod::AntennaMotionPattern | newAntennaMotionPattern (const std::string &name) |
| Create a AntennaMotionPattern enumeration object by specifying its name. More...
|
|
static
AntennaMotionPatternMod::AntennaMotionPattern | literal (const std::string &name) |
|
static
AntennaMotionPatternMod::AntennaMotionPattern | 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 AntennaMotionPattern.
Definition at line 101 of file CAntennaMotionPattern.h.
CAntennaMotionPattern::CAntennaMotionPattern |
( |
| ) |
|
|
private |
static std::string CAntennaMotionPattern::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CAntennaMotionPattern::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static AntennaMotionPatternMod::AntennaMotionPattern CAntennaMotionPattern::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a AntennaMotionPattern's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in AntennaMotionPatternMod::AntennaMotionPattern. |
- Returns
- a AntennaMotionPatternMod::AntennaMotionPattern's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static AntennaMotionPatternMod::AntennaMotionPattern CAntennaMotionPattern::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a AntennaMotionPattern's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a AntennaMotionPatternMod::AntennaMotionPattern's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CAntennaMotionPattern::name |
( |
const AntennaMotionPatternMod::AntennaMotionPattern & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of AntennaMotionPatternMod::AntennaMotionPattern. |
- Returns
- a string.
static const std::vector<std::string> CAntennaMotionPattern::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 AntennaMotionPatternMod::AntennaMotionPattern CAntennaMotionPattern::newAntennaMotionPattern |
( |
const std::string & |
name | ) |
|
|
static |
Create a AntennaMotionPattern enumeration object by specifying its name.
static std::string CAntennaMotionPattern::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CAntennaMotionPattern::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in AntennaMotionPatternMod::AntennaMotionPattern.
- Returns
- an unsigned int.
static std::string CAntennaMotionPattern::toString |
( |
const AntennaMotionPatternMod::AntennaMotionPattern & |
f | ) |
|
|
inlinestatic |
static int CAntennaMotionPattern::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CAntennaMotionPattern::sCIRCLE |
|
static |
const std::string& CAntennaMotionPattern::sCROSS_SCAN |
|
static |
const std::string& CAntennaMotionPattern::sFIVE_POINTS |
|
static |
const std::string& CAntennaMotionPattern::sFOUR_POINTS |
|
static |
const std::string& CAntennaMotionPattern::sLISSAJOUS |
|
static |
const std::string& CAntennaMotionPattern::sNONE |
|
static |
const std::string& CAntennaMotionPattern::sSPIRAL |
|
static |
const std::string& CAntennaMotionPattern::sSTAR |
|
static |
const std::string& CAntennaMotionPattern::sTEST |
|
static |
const std::string& CAntennaMotionPattern::sTHREE_POINTS |
|
static |
const std::string& CAntennaMotionPattern::sUNSPECIFIED |
|
static |
The documentation for this class was generated from the following file: