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