|
FlightGear next
|
#include <UnitsModel.hxx>
Public Member Functions | |
| QuantityValue () | |
| QuantityValue (Units::Type u, double v) | |
| QuantityValue (Units::Type u, int v) | |
| QuantityValue | convertToUnit (Units::Type u) const |
| Q_INVOKABLE QuantityValue | convertToUnit (int u) const |
| Q_INVOKABLE QString | toString () const |
| Q_INVOKABLE bool | isValid () const |
| bool | operator== (const QuantityValue &v) const |
| bool | operator!= (const QuantityValue &v) const |
Properties | |
| double | value = 0.0 |
| Units::Type | unit = Units::NoUnits |
Definition at line 83 of file UnitsModel.hxx.
| QuantityValue::QuantityValue | ( | ) |
Definition at line 302 of file UnitsModel.cxx.
| QuantityValue::QuantityValue | ( | Units::Type | u, |
| double | v ) |
Definition at line 306 of file UnitsModel.cxx.
| QuantityValue::QuantityValue | ( | Units::Type | u, |
| int | v ) |
Definition at line 312 of file UnitsModel.cxx.
| QuantityValue QuantityValue::convertToUnit | ( | int | u | ) | const |
Definition at line 424 of file UnitsModel.cxx.
| QuantityValue QuantityValue::convertToUnit | ( | Units::Type | u | ) | const |
Definition at line 319 of file UnitsModel.cxx.
| bool QuantityValue::isValid | ( | ) | const |
Definition at line 448 of file UnitsModel.cxx.
| bool QuantityValue::operator!= | ( | const QuantityValue & | v | ) | const |
Definition at line 464 of file UnitsModel.cxx.
| bool QuantityValue::operator== | ( | const QuantityValue & | v | ) | const |
Definition at line 453 of file UnitsModel.cxx.
| QString QuantityValue::toString | ( | ) | const |
Definition at line 429 of file UnitsModel.cxx.
| Units::Type QuantityValue::unit = Units::NoUnits |
Definition at line 88 of file UnitsModel.hxx.
| double QuantityValue::value = 0.0 |
Definition at line 87 of file UnitsModel.hxx.