|
swift
|
Concrete strategy pattern for converting unit with two subdivision conversions. 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 two subdivision conversions.
| 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 131 of file measurementunit.h.