LuciadCPillar 2023.1.04
luciad::MilitaryDataModel Class Referencefinal

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

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

Public Member Functions

 MilitaryDataModel ()=delete
 
 ~MilitaryDataModel ()=delete
 

Static Public Member Functions

static const DataModelget ()
 The data model containing the data type of military symbols. More...
 
static const DataPropertyPathgetGeometryPropertyPath ()
 Returns the property path to the geometry property. More...
 
static std::optional< DataPropertyPathgetModifierPropertyPath (MilitarySymbol::Modifier modifier)
 Returns the property path for the given modifier, or std::nullopt if the modifier is an SIDC modifier. More...
 
static const DataPropertyPathgetSidcPropertyPath ()
 Returns the property path to the SIDC property. More...
 
static const DataPropertyPathgetSymbologyPropertyPath ()
 Returns the property path to the symbology property. More...
 
static const DataTypegetSymbolType ()
 Returns the data type of military symbols. More...
 

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.

Constructor & Destructor Documentation

◆ MilitaryDataModel()

luciad::MilitaryDataModel::MilitaryDataModel ( )
delete

◆ ~MilitaryDataModel()

luciad::MilitaryDataModel::~MilitaryDataModel ( )
delete

Member Function Documentation

◆ get()

static const DataModel & luciad::MilitaryDataModel::get ( )
static

The data model containing the data type of military symbols.

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.

Returns
the property path to the geometry property.

◆ getModifierPropertyPath()

static std::optional< DataPropertyPath > luciad::MilitaryDataModel::getModifierPropertyPath ( MilitarySymbol::Modifier  modifier)
static

Returns the property path for the given modifier, or std::nullopt if the modifier is an SIDC modifier.

SIDC modifiers do not have a separate property, because they are encoded in the SIDC property.

Parameters
modifierthe modifier for which to return the property path.
Returns
the property path for the given modifier, or std::nullopt if the modifier is an SIDC modifier.

◆ getSidcPropertyPath()

static const DataPropertyPath & luciad::MilitaryDataModel::getSidcPropertyPath ( )
static

Returns the property path to the SIDC property.

Returns
the property path to the SIDC property.

◆ getSymbologyPropertyPath()

static const DataPropertyPath & luciad::MilitaryDataModel::getSymbologyPropertyPath ( )
static

Returns the property path to the symbology property.

Returns
the property path to the symbology property.

◆ getSymbolType()

static const DataType & luciad::MilitaryDataModel::getSymbolType ( )
static

Returns the data type of military symbols.

Returns
the data type of military symbols.