#include <units.h>
Public Member Functions | |
MAXON_METHOD const Id & | GetId () const |
MAXON_METHOD Result< Dimension > | operator* (const Result< Dimension > &q) const |
MAXON_METHOD Result< Dimension > | operator/ (const Result< Dimension > &q) const |
MAXON_METHOD Result< Dimension > | operator^ (Int exponent) const |
MAXON_METHOD Result< Dimension > | Copy (const Id &qid) const |
MAXON_METHOD Int | GetExponent (BASE_DIMENSION q) const |
MAXON_METHOD Result< Unit > | AddUnit (const Id &unitId, Float siConversionFactor) const |
MAXON_METHOD UnitsArray | GetUnits () const |
MAXON_METHOD Bool | IsEquivalent (const Dimension &other) const |
MAXON_METHOD String | ToString (const FormatStatement *fs=nullptr) const |
Static Public Member Functions | |
static MAXON_METHOD const Dimension & | Get (BASE_DIMENSION q) |
Private Member Functions | |
MAXON_INTERFACE (DimensionInterface, MAXON_REFERENCE_CONST, "net.maxon.interface.dimension", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
Private Attributes | |
MAXON_INTERFACE_SINGLE_IMPLEMENTATION | |
|
private |
|
static |
MAXON_METHOD const Id& GetId | ( | ) | const |
MAXON_METHOD Result<Dimension> operator* | ( | const Result< Dimension > & | q | ) | const |
MAXON_METHOD Result<Dimension> operator/ | ( | const Result< Dimension > & | q | ) | const |
MAXON_METHOD Result<Dimension> operator^ | ( | Int | exponent | ) | const |
MAXON_METHOD Result<Dimension> Copy | ( | const Id & | qid | ) | const |
MAXON_METHOD Int GetExponent | ( | BASE_DIMENSION | q | ) | const |
MAXON_METHOD Result<Unit> AddUnit | ( | const Id & | unitId, |
Float | siConversionFactor | ||
) | const |
MAXON_METHOD UnitsArray GetUnits | ( | ) | const |
MAXON_METHOD Bool IsEquivalent | ( | const Dimension & | other | ) | const |
MAXON_METHOD String ToString | ( | const FormatStatement * | fs = nullptr | ) | const |
|
private |