#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 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.
UInt16 brokerID() const noexcept
Integer identifier uniquely identifying the Broker.
UInt64 orderId() const noexcept
Unique identifier for each order performed within the trading day.
AddOddLotOrderMsg(const void *data, MessageSize size) noexcept
Initializes instance over given memory block.
static void validateSize(MessageSize size)
Check the given size.
UInt16 side() const noexcept
Side of the order.
Int32 price() const noexcept
Price.