|
swift
|
Concrete strategy pattern for converting unit with offset linear conversion. More...
Static Public Member Functions | |
| static double | toDefault (double value) |
| convert from this unit to the default unit | |
| static double | fromDefault (double value) |
| convert to this unit from the default unit | |
Concrete strategy pattern for converting unit with offset linear conversion.
| Policy | a policy class with static methods factor() and offset() returning double |
Definition at line 86 of file measurementunit.h.