Allows enumerating
Modifier
values and converting them to
and from
std::string
.
More...
#include <luciad/symbology/military/MilitarySymbol.h>
|
static const std::string & | getName (Modifier modifier) |
| Returns the name of the given modifier, exactly as it is written in the header. More...
|
|
static Modifier | getValue (const std::string &modifierName) |
| Returns the modifier with the given name. More...
|
|
static const std::vector< Modifier > & | getValues () |
| Returns the vector containing all modifiers. More...
|
|
Allows enumerating
Modifier
values and converting them to
and from
std::string
.
◆ getName()
static const std::string & luciad::MilitarySymbol::Modifiers::getName |
( |
Modifier |
modifier | ) |
|
|
static |
Returns the name of the given modifier, exactly as it is written in the header.
- Parameters
-
modifier | the modifier for which the return the name. |
- Returns
- the name of the given modifier, exactly as it is written in the header.
◆ getValue()
static Modifier luciad::MilitarySymbol::Modifiers::getValue |
( |
const std::string & |
modifierName | ) |
|
|
static |
Returns the modifier with the given name.
- Parameters
-
modifierName | the name of the modifier to return. This name must match the modifier exactly as it is written in the header (see getValue ). |
- Returns
- the modifier with the given name.
- Exceptions
-
◆ getValues()
static const std::vector< Modifier > & luciad::MilitarySymbol::Modifiers::getValues |
( |
| ) |
|
|
static |
Returns the vector containing all modifiers.
- Returns
- the vector containing all modifiers.