LuciadCPillar 2023.1.05
luciad::MilitarySymbology::Standards Class Referencefinal

Allows enumerating Standard values and converting them to and from std::string. More...

#include <luciad/symbology/military/MilitarySymbology.h>

Static Public Member Functions

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...
 

Detailed Description

Allows enumerating Standard values and converting them to and from std::string.

Member Function Documentation

◆ 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
standardthe 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
standardNamethe 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
InvalidArgumentExceptionif there is no standard with the given name.

◆ getValues()

static const std::vector< Standard > & luciad::MilitarySymbology::Standards::getValues ( )
static

Returns the vector containing all standards.

Returns
the vector containing all standards.