LuciadCPillar 2023.1.04
luciad::MilitarySymbologyNode::SymbolTypes Class Referencefinal

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

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

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ 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
symbolTypethe 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
symbolTypeNamethe 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
InvalidArgumentExceptionif there is no symbol type with the given name.

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