|
virtual Unit * | clone (const String &name, const TranslatedString &translated_id) const override |
|
virtual fltp08 | epsilon (fltp08 value, uint01 direction) const override |
|
virtual fltp08 | fromString (const String &unit_string, uint01 direction=X) const override |
|
virtual String | getNextPreferredSeparator (const String &string, uint01 direction) const override |
|
void | toString (String &string, const fltp08 &local_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const override |
|
| TwoPartUnit (const String &name, const TranslatedString &translated_id, const TranslatedString &abr_major, const TranslatedString &abr_minor, fltp08 scale, fltp08 sub_unit) |
|
virtual const TranslatedString & | abbreviation (uint01 direction=X) const override |
|
virtual fltp08 | convertFromString (const String &unit_string, uint01 direction=X) const override |
|
virtual fltp08 | convertFromUnit (const fltp08 &program_space, const uint01 direction=X) const override |
|
virtual Ray< 3, fltp08 > | convertFromUnit (const Ray< 3, fltp08 > &program_space) const override |
|
virtual Vertex< 3, fltp08 > | convertFromUnit (const Vertex< 3, fltp08 > &program_space) const override |
|
virtual String | convertToString (const fltp08 &program_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const override |
|
virtual fltp08 | convertToUnit (const fltp08 &program_space, const uint01 direction=X) const override |
|
virtual Ray< 3, fltp08 > | convertToUnit (const Ray< 3, fltp08 > &program_space) const override |
|
virtual Vertex< 3, fltp08 > | convertToUnit (const Vertex< 3, fltp08 > &program_space) const override |
|
virtual Matrix< fltp08 > | matrix () const override |
|
| ScaledUnit (String name, TranslatedString translated_id, TranslatedString abbreviation, fltp08 scale) |
|
virtual const Unit * | subUnit (uint01) const override |
|
virtual Unit * | clone () const |
|
template<class t_angle_type > |
Angle< t_angle_type > | convertAngleFromUnit (const fltp08 &unit_space, uint01 direction=X) const |
|
template<class t_angle_type > |
String | convertToString (const Angle< t_angle_type > &program_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const |
|
template<class t_angle_type > |
fltp08 | convertToUnit (const Angle< t_angle_type > &program_space, uint01 direction=X) const |
|
bool | operator== (const Unit &other) const |
|
virtual String | toFormula (const String &unit_string, uint01 direction=X) const |
|
String | toString (const fltp08 &unit_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const |
|
virtual TranslatedString | translatedAxisName (uint04 index) const |
|
TranslatedString | translatedName () const |
|
| Unit (String name, TranslatedString translated_id) |
|
virtual | ~Unit ()=default |
|
A unit that has two parts (Think feet, inches)