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