#define ONIXS_HKEX_OMDC_CONST_OR_CONSTEXPR
#define ONIXS_HKEX_OMDC_NOTHROW
Enumeration::Enum enumeration(MessageSize offset) const noexcept
StrRef fixedStr(MessageSize offset) const noexcept
FieldValue ordinary(MessageSize offset) const noexcept
BinaryMessage() noexcept
Initializes blank instance referencing to nothing.
Provides efficient way of accessing text-based FIX field values.
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 securityCode() const noexcept
Uniquely identifies a security available for trading.
Int32 orderBookPosition() const noexcept
Order rank information for the order position within the order book for each security.
UInt16 msgSize() const noexcept
Size of the message.
UInt16 msgType() const noexcept
Type of message.
Side::Enum side() const noexcept
Side of the order.
static constexpr MessageSize messageSize_
Total message size.
UInt64 orderId() const noexcept
Unique identifier for each order performed within the trading day.
static void validateSize(MessageSize size)
Check the given size.
Int32 price() const noexcept
Price.
StrRef orderType() const noexcept
Order type.
AddOrderMsg(const void *data, MessageSize size) noexcept
Initializes instance over given memory block.