API Documentation
|
A definition of how to describe a particular set of data to a custom category of unit. More...
#include <UnitManager.h>
Public Member Functions | |
virtual bool | hasMemberUnit (const ConstPointer< Unit > &unit) const =0 |
virtual Buffer< ConstPointer< UnitOption > > | subOptions () const |
virtual TranslatedString | title () const |
virtual ConstPointer< Unit > | unit () const =0 |
virtual ConstPointer< Unit > | unit (const ConstPointer< Unit > &) const |
UnitOption (const String &id, const TranslatedString &name) | |
virtual | ~UnitOption () |
Public Attributes | |
String | id |
TranslatedString | name |
A definition of how to describe a particular set of data to a custom category of unit.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in BasicUnitOption, and CoordinateUnitOption.
|
inlinevirtual |
Reimplemented in BasicUnitOption.
|
inlinevirtual |
Reimplemented in BasicUnitOption.
|
pure virtual |
Implemented in BasicUnitOption, and CoordinateUnitOption.
|
inlinevirtual |
Reimplemented in CoordinateUnitOption.
String id |
TranslatedString name |