OPPQuantity class

One scalar physical quantity, its unit and its own provenance.

PROVENANCE is required: an OPPQuantity that exists names where it came from. Presence of the table is the signal that a value exists, so VALUE zero is a real zero (0 dBsm is 1 m2) and an unknown quantity omits the whole table.

Constructors

OPPQuantity(List<int> bytes)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
PROVENANCE → OPPProvenance?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SIGMA → double
1-sigma uncertainty in UNITS. Zero means the source stated no uncertainty; a genuine stated sigma is never exactly zero.
no setter
UNITS → String?
Unit symbol verbatim, never silently converted: "kg", "m", "m2", "m2/kg", "kg/m2", "dBsm", "W", "mag". A converted value states the unit it was converted to and records the conversion in PROVENANCE.NOTES with PROVENANCE.METHOD DERIVED.
no setter
VALUE → double
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<OPPQuantity>