A helper class for the enumeration AntennaMake.
More...
#include <CAntennaMake.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 AntennaMakeMod::AntennaMake. More...
|
|
static std::string | name (const AntennaMakeMod::AntennaMake &e) |
| Returns an enumerator as a string. More...
|
|
static std::string | toString (const AntennaMakeMod::AntennaMake &f) |
| Equivalent to the name method. More...
|
|
static const std::vector
< std::string > | names () |
| Returns vector of all the enumerators as strings. More...
|
|
static AntennaMakeMod::AntennaMake | newAntennaMake (const std::string &name) |
| Create a AntennaMake enumeration object by specifying its name. More...
|
|
static AntennaMakeMod::AntennaMake | literal (const std::string &name) |
|
static AntennaMakeMod::AntennaMake | 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 AntennaMake.
Definition at line 97 of file CAntennaMake.h.
CAntennaMake::CAntennaMake |
( |
| ) |
|
|
private |
static std::string CAntennaMake::badInt |
( |
unsigned int |
i | ) |
|
|
staticprivate |
static std::string CAntennaMake::badString |
( |
const std::string & |
name | ) |
|
|
staticprivate |
static AntennaMakeMod::AntennaMake CAntennaMake::from_int |
( |
unsigned int |
i | ) |
|
|
static |
Return a AntennaMake's enumerator given an unsigned int.
- Parameters
-
i | the index of the enumerator in AntennaMakeMod::AntennaMake. |
- Returns
- a AntennaMakeMod::AntennaMake's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this integer. |
static AntennaMakeMod::AntennaMake CAntennaMake::literal |
( |
const std::string & |
name | ) |
|
|
static |
Return a AntennaMake's enumerator given a string.
- Parameters
-
name | the string representation of the enumerator. |
- Returns
- a AntennaMakeMod::AntennaMake's enumerator.
- Exceptions
-
a | string containing an error message if no enumerator could be found for this name. |
static std::string CAntennaMake::name |
( |
const AntennaMakeMod::AntennaMake & |
e | ) |
|
|
static |
Returns an enumerator as a string.
- Parameters
-
e | an enumerator of AntennaMakeMod::AntennaMake. |
- Returns
- a string.
static const std::vector<std::string> CAntennaMake::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 AntennaMakeMod::AntennaMake CAntennaMake::newAntennaMake |
( |
const std::string & |
name | ) |
|
|
static |
Create a AntennaMake enumeration object by specifying its name.
static std::string CAntennaMake::revision |
( |
| ) |
|
|
static |
Return the revision as a string.
- Returns
- a string
static unsigned int CAntennaMake::size |
( |
| ) |
|
|
static |
Return the number of enumerators declared in AntennaMakeMod::AntennaMake.
- Returns
- an unsigned int.
static std::string CAntennaMake::toString |
( |
const AntennaMakeMod::AntennaMake & |
f | ) |
|
|
inlinestatic |
static int CAntennaMake::version |
( |
| ) |
|
|
static |
Return the major version number as an int.
- Returns
- an int.
const std::string& CAntennaMake::sAEM_12 |
|
static |
Enumerators as strings.
A const string equal to "AEM_12".
Definition at line 104 of file CAntennaMake.h.
const std::string& CAntennaMake::sAEM_12_ATF |
|
static |
const std::string& CAntennaMake::sIRAM_15 |
|
static |
const std::string& CAntennaMake::sMITSUBISHI_12_A |
|
static |
A const string equal to "MITSUBISHI_12_A".
Definition at line 108 of file CAntennaMake.h.
const std::string& CAntennaMake::sMITSUBISHI_12_B |
|
static |
A const string equal to "MITSUBISHI_12_B".
Definition at line 110 of file CAntennaMake.h.
const std::string& CAntennaMake::sMITSUBISHI_7 |
|
static |
A const string equal to "MITSUBISHI_7".
Definition at line 106 of file CAntennaMake.h.
const std::string& CAntennaMake::sUNDEFINED |
|
static |
const std::string& CAntennaMake::sVERTEX_12 |
|
static |
const std::string& CAntennaMake::sVERTEX_12_ATF |
|
static |
A const string equal to "VERTEX_12_ATF".
Definition at line 112 of file CAntennaMake.h.
The documentation for this class was generated from the following file: