#include <MRUnits.h>
Public Attributes | |
std::string_view | decorationFormatString = "{}" |
std::optional< E > | sourceUnit = getDefaultUnitParams<E>().sourceUnit |
std::optional< E > | targetUnit = getDefaultUnitParams<E>().targetUnit |
bool | unitSuffix = getDefaultUnitParams<E>().unitSuffix |
NumberStyle | style = getDefaultUnitParams<E>().style |
int | precision = getDefaultUnitParams<E>().precision |
bool | allowNegativeZero = getDefaultUnitParams<E>().allowNegativeZero |
bool | unicodeMinusSign = getDefaultUnitParams<E>().unicodeMinusSign |
char | thousandsSeparator = getDefaultUnitParams<E>().thousandsSeparator |
char | thousandsSeparatorFrac = getDefaultUnitParams<E>().thousandsSeparatorFrac |
bool | leadingZero = getDefaultUnitParams<E>().leadingZero |
bool | stripTrailingZeroes = getDefaultUnitParams<E>().stripTrailingZeroes |
std::conditional_t< std::is_same_v< E, AngleUnit >, DegreesMode, detail::Units::Empty > | degreesMode = getDefaultUnitParams<E>().degreesMode |
Friends | |
bool | operator== (const UnitToStringParams &, const UnitToStringParams &)=default |
|
friend |
bool MR::UnitToStringParams< E >::allowNegativeZero = getDefaultUnitParams<E>().allowNegativeZero |
std::string_view MR::UnitToStringParams< E >::decorationFormatString = "{}" |
std::conditional_t<std::is_same_v<E, AngleUnit>, DegreesMode, detail::Units::Empty> MR::UnitToStringParams< E >::degreesMode = getDefaultUnitParams<E>().degreesMode |
bool MR::UnitToStringParams< E >::leadingZero = getDefaultUnitParams<E>().leadingZero |
int MR::UnitToStringParams< E >::precision = getDefaultUnitParams<E>().precision |
std::optional<E> MR::UnitToStringParams< E >::sourceUnit = getDefaultUnitParams<E>().sourceUnit |
bool MR::UnitToStringParams< E >::stripTrailingZeroes = getDefaultUnitParams<E>().stripTrailingZeroes |
NumberStyle MR::UnitToStringParams< E >::style = getDefaultUnitParams<E>().style |
std::optional<E> MR::UnitToStringParams< E >::targetUnit = getDefaultUnitParams<E>().targetUnit |
char MR::UnitToStringParams< E >::thousandsSeparator = getDefaultUnitParams<E>().thousandsSeparator |
char MR::UnitToStringParams< E >::thousandsSeparatorFrac = getDefaultUnitParams<E>().thousandsSeparatorFrac |
bool MR::UnitToStringParams< E >::unicodeMinusSign = getDefaultUnitParams<E>().unicodeMinusSign |
bool MR::UnitToStringParams< E >::unitSuffix = getDefaultUnitParams<E>().unitSuffix |