|
swift
|
Concrete strategy pattern for converting unit with one subdivision 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 one subdivision conversion.
| FactorPolicy | a policy class with static method factor() returning double |
| SubdivPolicy | a policy class with static methods fraction() and subfactor() returning double |
Definition at line 104 of file measurementunit.h.