API Documentation
Loading...
Searching...
No Matches
CoordinateUnitOption Class Reference

A definition of how to describe coordinate data. More...

#include <UnitManager.h>

Inheritance diagram for CoordinateUnitOption:
[legend]
Collaboration diagram for CoordinateUnitOption:
[legend]

Public Member Functions

 CoordinateUnitOption (const String &id, const TranslatedString &name)
 
virtual bool hasMemberUnit (const ConstPointer< Unit > &unit) const final override
 
virtual ConstPointer< Unitunit () const final override
 
virtual ConstPointer< Unitunit (const ConstPointer< Unit > &distance_unit) const final override
 
- Public Member Functions inherited from UnitOption
virtual Buffer< ConstPointer< UnitOption > > subOptions () const
 
virtual TranslatedString title () const
 
 UnitOption (const String &id, const TranslatedString &name)
 
virtual ~UnitOption ()
 

Additional Inherited Members

- Public Attributes inherited from UnitOption
String id
 
TranslatedString name
 

Detailed Description

A definition of how to describe coordinate data.


Constructor & Destructor Documentation

◆ CoordinateUnitOption()

CoordinateUnitOption ( const String & id,
const TranslatedString & name )
inline

Member Function Documentation

◆ hasMemberUnit()

virtual bool hasMemberUnit ( const ConstPointer< Unit > & unit) const
finaloverridevirtual

Implements UnitOption.

◆ unit() [1/2]

virtual ConstPointer< Unit > unit ( ) const
finaloverridevirtual

Implements UnitOption.

◆ unit() [2/2]

virtual ConstPointer< Unit > unit ( const ConstPointer< Unit > & distance_unit) const
finaloverridevirtual

Reimplemented from UnitOption.


The documentation for this class was generated from the following file: