#define ONIXS_HKEX_OMDC_CONST_OR_CONSTEXPR
#define ONIXS_HKEX_OMDC_NOTHROW
FieldValue ordinary(MessageSize offset) const noexcept
BinaryMessage() noexcept
Initializes blank instance referencing to nothing.
ONIXS_HKEX_OMDC_API void toStr(std::string &, Side::Enum)
Appends string presentation of object.
UInt16 MessageSize
Aliases message length type.
ONIXS_HKEX_OMDC_API void throwIncorrectSize(const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
UInt32 quantity() const noexcept
Number of shares.
UInt32 tradeID() const noexcept
Unique identifier per security for each trade performed within the trading system.
UInt64 tradeTime() const noexcept
Time of trade.
Int16 trdType() const noexcept
Public trade type.
UInt32 securityCode() const noexcept
Uniquely identifies a security available for trading.
UInt16 msgSize() const noexcept
Size of the message.
UInt16 msgType() const noexcept
Type of message.
static constexpr MessageSize messageSize_
Total message size.
TradeMsg(const void *data, MessageSize size) noexcept
Initializes instance over given memory block.
static void validateSize(MessageSize size)
Check the given size.
Int32 price() const noexcept
Price.