#include <units.h>
Public Member Functions | |
MAXON_METHOD const Id & | GetId () const |
MAXON_METHOD const Dimension & | GetDimension () const |
MAXON_METHOD Float | GetSIConversionFactor () const |
MAXON_METHOD Result< Unit > | operator* (const Result< Unit > &u) const |
MAXON_METHOD Result< Unit > | operator/ (const Result< Unit > &u) const |
MAXON_METHOD Result< Unit > | operator^ (Int exponent) const |
MAXON_METHOD Result< Unit > | Copy (const Id &uid) const |
MAXON_METHOD Result< Unit > | Copy (const Dimension &quantity) const |
MAXON_METHOD Result< void > | AddToDimension () const |
MAXON_METHOD Result< Unit > | Reduce () const |
MAXON_METHOD String | ToString (const FormatStatement *fs=nullptr) const |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (UnitInterface, MAXON_REFERENCE_CONST, "net.maxon.interface.unit", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
|
private |
MAXON_METHOD const Id& GetId | ( | ) | const |
MAXON_METHOD const Dimension& GetDimension | ( | ) | const |
MAXON_METHOD Float GetSIConversionFactor | ( | ) | const |
MAXON_METHOD Result<Unit> operator* | ( | const Result< Unit > & | u | ) | const |
MAXON_METHOD Result<Unit> operator/ | ( | const Result< Unit > & | u | ) | const |
MAXON_METHOD Result<Unit> operator^ | ( | Int | exponent | ) | const |
MAXON_METHOD Result<Unit> Copy | ( | const Id & | uid | ) | const |
MAXON_METHOD Result<Unit> Copy | ( | const Dimension & | quantity | ) | const |
MAXON_METHOD Result<void> AddToDimension | ( | ) | const |
MAXON_METHOD Result<Unit> Reduce | ( | ) | const |
MAXON_METHOD String ToString | ( | const FormatStatement * | fs = nullptr | ) | const |