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