31template <
class MantissaType,
class ExponentType>
class FixedPointDecimal;
32template<
class Mantissa,
class Exponent> std::string
toStr(
const FixedPointDecimal <Mantissa, Exponent>&);
43 MantissaType mantissa_;
52 typedef MantissaType FirstArgType;
107 std::memcpy(addr, &mantissa_,
sizeof(mantissa_));
116 class NullMantissaType
137 return NullMantissaType();
#define ONIXS_B3_UMDF_MD_MESSAGING_NAMESPACE_END
#define ONIXS_B3_UMDF_MD_MESSAGING_NAMESPACE_BEGIN
#define ONIXS_B3_UMDF_MD_NODISCARD
IntegralConstant< Int8, -4 > Exponent
std::string toString() const
constexpr Exponent exponent() const noexcept
constexpr FixedPointDecimal(Mantissa mantissa) noexcept
Explicitly initializes the instance from the mantissa value.
void serialize(void *addr) const noexcept
Serialize to the given data buffer.
constexpr FixedPointDecimal() noexcept
Default (zero) initialization.
constexpr Mantissa mantissa() const noexcept
constexpr NullableFixedPointDecimal() noexcept
Default (zero) initialization.
constexpr NullableFixedPointDecimal(MantissaType mantissa) noexcept
Explicitly initializes the instance from the mantissa value.
static constexpr NullableFixedPointDecimal nullValue() noexcept
static constexpr NullMantissaType nullMantissa() noexcept
void toStr(std::string &str, Char character)
Appends the character to the given std::string instance.
void toStr(std::string &str, TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
Appends timespan formatted in specified pattern to given string.