OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
NullableFixedPointDecimal< MantissaType, ExponentType, NullMantissaType > Class Template Reference

#include <OnixS/B3/MarketData/UMDF/messaging/Decimal.h>

Public Member Functions

constexpr NullableFixedPointDecimal () noexcept
constexpr NullableFixedPointDecimal (MantissaType mantissa) noexcept
bool isNull () const
Public Member Functions inherited from FixedPointDecimal< MantissaType, ExponentType >
 __attribute__ ((__warn_unused_result__)) std
constexpr FixedPointDecimal (Mantissa mantissa) noexcept
constexpr Mantissa mantissa () const noexcept
constexpr Exponent exponent () const noexcept
void serialize (void *addr) const noexcept

Static Public Member Functions

static constexpr NullMantissaType nullMantissa () noexcept
static constexpr NullableFixedPointDecimal nullValue () noexcept

Additional Inherited Members

Public Types inherited from FixedPointDecimal< MantissaType, ExponentType >
enum  
typedef MantissaType Mantissa
typedef ExponentType Exponent

Detailed Description

template<class MantissaType, class ExponentType, class NullMantissaType>
class OnixS::B3::MarketData::UMDF::Messaging::NullableFixedPointDecimal< MantissaType, ExponentType, NullMantissaType >

Definition at line 118 of file Decimal.h.

Constructor & Destructor Documentation

◆ NullableFixedPointDecimal() [1/2]

template<class MantissaType, class ExponentType, class NullMantissaType>
NullableFixedPointDecimal ( )
inlineconstexprnoexcept

Default (zero) initialization.

Definition at line 123 of file Decimal.h.

◆ NullableFixedPointDecimal() [2/2]

template<class MantissaType, class ExponentType, class NullMantissaType>
NullableFixedPointDecimal ( MantissaType mantissa)
inlineexplicitconstexprnoexcept

Explicitly initializes the instance from the mantissa value.

Definition at line 129 of file Decimal.h.

Member Function Documentation

◆ isNull()

template<class MantissaType, class ExponentType, class NullMantissaType>
bool isNull ( ) const
inline
Returns
whether the value is Null.

Definition at line 148 of file Decimal.h.

◆ nullMantissa()

template<class MantissaType, class ExponentType, class NullMantissaType>
constexpr NullMantissaType nullMantissa ( )
inlinestaticconstexprnoexcept

Definition at line 135 of file Decimal.h.

◆ nullValue()

template<class MantissaType, class ExponentType, class NullMantissaType>
constexpr NullableFixedPointDecimal nullValue ( )
inlinestaticconstexprnoexcept

Definition at line 141 of file Decimal.h.