|
swift
|
Concrete strategy pattern for converting unit with 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 linear conversion.
| Policy | a policy class with static method factor() returning double |
Definition at line 69 of file measurementunit.h.