OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
BrokerQueueMsg Struct Reference

Public Member Functions

UInt16 msgSize () const noexcept
UInt16 msgType () const noexcept
UInt32 securityCode () const noexcept
UInt8 itemCount () const noexcept
UInt16 side () const noexcept
StrRef bQMoreFlag () const noexcept
Item item (UInt16 index) const noexcept
 BrokerQueueMsg (const void *data, MessageSize size) noexcept
Public Member Functions inherited from BinaryMessage
 BinaryMessage () noexcept
 BinaryMessage (const void *data, MessageSize size) noexcept
 BinaryMessage (const BinaryMessage &other) noexcept
 operator bool () const noexcept
const void * binary () const noexcept
MessageSize binarySize () const noexcept
BinaryMessageoperator= (const BinaryMessage &other) noexcept

Static Public Member Functions

static void validateSize (MessageSize size)

Static Public Attributes

static constexpr MessageSize messageSize_ = 12

Additional Inherited Members

Public Types inherited from BinaryMessage
typedef MessageSize BinarySize
Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
const SubMessage submessage (MessageSize offset, MessageSize size) const noexcept
FieldValue ordinary (MessageSize offset) const noexcept
const FieldValue & ordinaryRef (MessageSize offset) const noexcept
Enumeration::Enum enumeration (MessageSize offset) const noexcept
StrRef fixedStr (MessageSize offset) const noexcept

Detailed Description

Definition at line 37 of file BrokerQueue.h.

Constructor & Destructor Documentation

◆ BrokerQueueMsg()

BrokerQueueMsg ( const void * data,
MessageSize size )
inlinenoexcept

Initializes instance over given memory block.

Definition at line 102 of file BrokerQueue.h.

Member Function Documentation

◆ bQMoreFlag()

StrRef bQMoreFlag ( ) const
inlinenoexcept

Flag indicating if there are more broker numbers in the queue.

Definition at line 75 of file BrokerQueue.h.

◆ item()

Item item ( UInt16 index) const
inlinenoexcept

Definition at line 82 of file BrokerQueue.h.

◆ itemCount()

UInt8 itemCount ( ) const
inlinenoexcept

This field contains the number of items in the message – repeating items are shown indented below.

Definition at line 61 of file BrokerQueue.h.

◆ msgSize()

UInt16 msgSize ( ) const
inlinenoexcept

Size of the message.

Definition at line 40 of file BrokerQueue.h.

◆ msgType()

UInt16 msgType ( ) const
inlinenoexcept

Type of message.

Definition at line 47 of file BrokerQueue.h.

◆ securityCode()

UInt32 securityCode ( ) const
inlinenoexcept

Uniquely identifies a security available for trading.

Definition at line 54 of file BrokerQueue.h.

◆ side()

UInt16 side ( ) const
inlinenoexcept

Side of the order.

Definition at line 68 of file BrokerQueue.h.

◆ validateSize()

void validateSize ( MessageSize size)
inlinestatic

Check the given size.

Definition at line 95 of file BrokerQueue.h.

Member Data Documentation

◆ messageSize_

MessageSize messageSize_ = 12
staticconstexpr

Total message size.

Definition at line 92 of file BrokerQueue.h.