|
| UnitManager () |
|
| UnitManager (const UnitManager &manager) |
|
| ~UnitManager () |
|
void | setToDefaultMetric (bool preserve_spacial) |
|
void | setToDefaultImperial (bool preserve_spacial) |
|
void | tieToManager (const UnitManager &manager) |
|
void | getINI (INIFactory &factory) override |
|
void | prepareForINI (INIFactory &factory) override |
|
void | finishReadingINI (INIFactory &factory) override |
|
void | updateCoordinateBase (const ConstPointer< Unit > &base) |
|
ConstPointer< Unit > | unit (UnitType type) const |
|
ConstPointer< Unit > | orientationOffsetUnit () const |
|
Resource< ConstPointer< Unit > > & | unitResource (UnitType type) |
|
void | setUnit (UnitType type, const ConstPointer< Unit > &unit) |
|
void | clearUnitOptions (UnitType type) |
|
void | setUnitOptionsToDefault (UnitType type) |
|
void | setUnitOptions (UnitType type, const Buffer< ConstPointer< UnitOption > > &options) |
|
void | setUnitOptions (UnitType type, const Buffer< ConstPointer< Unit > > &options) |
|
Buffer< ConstPointer< UnitOption > > | unitOptions (UnitType units) const |
|
const Buffer< ConstPointer< UnitOption > > & | angleUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | latLonUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | distanceUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | areaUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | volumeUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | weightUnitOptions () const |
|
const Buffer< ConstPointer< UnitOption > > & | coordinateSpaceFormatOptions () const |
|
const Buffer< DynamicPointer< CustomUnit > > & | specialUnits () const |
|
void | addSpecialUnit (const DynamicPointer< CustomUnit > &custom_unit) |
|
ConstPointer< Unit > | specialUnit (const String &name) |
|
Resource< ConstPointer< Unit > > & | specialUnitResource (const String &name) |
|
bool | hasSpecialUnit (const String &name) const |
|
void | setupDefaultAngleUnitOptions () |
|
void | setupDefaultDistanceOptions () |
|
void | setupDefaultCoordinateSpaceOptions () |
|
void | setupDefaultVolumeOptions () |
|
void | setupDefaultAreaOptions () |
|
void | setupDefaultWeightOptions () |
|
void | setupDefaultLatLonOptions () |
|
ConstPointer< Unit > | unit (const String &name) const |
|
ConstPointer< Unit > | parseUnit (const String &name, UnitType type=UnitType::e_undefined_unit) const |
|
ConstPointer< Unit > | determineUnit (const Buffer< String > &unit_parts, UnitType type) const |
|
bool | canBeImperial (const ConstPointer< Unit > &unit) const |
|
bool | canBeMetric (const ConstPointer< Unit > &unit) const |
|
void | addFormatOption (UnitType unit_type, const ConstPointer< UnitOption > &format_option) |
|
void | removeFormatOption (UnitType unit_type, const ConstPointer< UnitOption > &format_option) |
|
UnitManager & | operator= (const UnitManager &manager) |
|
| INIInterface (const File &default_ini) |
|
virtual | ~INIInterface () |
|
virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
|
virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
|
void | setDefaultINIFile (const File &file) |
|
virtual bool | readINIOptions () |
|
virtual bool | readINIOptions (File &ini_file) |
|
virtual bool | saveINIOptions (bool multithead=false) |
|
virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
|