LuciadCPillar  2020.0.04
luciad::MilitaryDataModel Class Referencefinal

Provides the data model and type of military symbols, as well as the relevant data property paths. More...

Static Public Member Functions

static const DataModelget ()
 
static const DataPropertyPathgetGeometryPropertyPath ()
 
static std::optional< DataPropertyPathgetModifierPropertyPath (MilitarySymbol::Modifier modifier)
 
static const DataPropertyPathgetSidcPropertyPath ()
 
static const DataPropertyPathgetSymbologyPropertyPath ()
 
static const DataTypegetSymbolType ()
 

Detailed Description

Provides the data model and type of military symbols, as well as the relevant data property paths.

Instances of MilitarySymbol can be converted to Features with this data type using MilitarySymbol#copyToFeature. Converting a luciad::Feature back into a MilitarySymbol can be done with MilitarySymbol#create.

Member Function Documentation

◆ get()

static const DataModel& luciad::MilitaryDataModel::get ( )
static
Returns
the data model containing the data type of military symbols.

◆ getGeometryPropertyPath()

static const DataPropertyPath& luciad::MilitaryDataModel::getGeometryPropertyPath ( )
static
Returns
the property path to the geometry property.

◆ getModifierPropertyPath()

static std::optional<DataPropertyPath> luciad::MilitaryDataModel::getModifierPropertyPath ( MilitarySymbol::Modifier  modifier)
static
Parameters
modifierthe modifier for which to return the property path.
Returns
the property path for the given modifier, or an empty optional if the modifier is an SIDC modifier. SIDC modifiers do not have a separate property, because they are encoded in the SIDC property.

◆ getSidcPropertyPath()

static const DataPropertyPath& luciad::MilitaryDataModel::getSidcPropertyPath ( )
static
Returns
the property path to the SIDC property.

◆ getSymbologyPropertyPath()

static const DataPropertyPath& luciad::MilitaryDataModel::getSymbologyPropertyPath ( )
static
Returns
the property path to the symbology property.

◆ getSymbolType()

static const DataType& luciad::MilitaryDataModel::getSymbolType ( )
static
Returns
the data type of military symbols.