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

#include <UnitManager.h>

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

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from UnitOption
TranslatedString name
 
String id
 

Constructor & Destructor Documentation

◆ CoordinateUnitOption()

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

Member Function Documentation

◆ hasMemberUnit()

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

Implements UnitOption.

◆ unit() [1/2]

ConstPointer< Unit > unit ( ) const
finaloverridevirtual

Implements UnitOption.

◆ unit() [2/2]

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

Reimplemented from UnitOption.


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