Template Struct ValueWithUnit
Defined in File value_with_unit.h
Struct Documentation
-
template<SiUnit::Id unit, typename T>
struct ValueWithUnit Public Functions
-
inline ValueWithUnit(T value)
-
inline ValueWithUnit &operator=(T rhs)
-
inline operator T&()
-
inline operator const T&() const
Public Members
-
T value = {}
Public Static Functions
-
static std::optional<ValueWithUnit> from(const param::Value ¶ms)
-
inline ValueWithUnit(T value)