OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
TradeOrderIds Class Reference

Public Types

typedef TradeOrderDetails Details

Public Member Functions

 TradeOrderIds ()
 TradeOrderIds (size_t capacity)
 TradeOrderIds (const TradeOrderIds &other)
 ~TradeOrderIds ()
bool empty () const
size_t size () const
const Detailsoperator[] (size_t index) const
template<class Entry>
void add (const Entry &entry)
void clear ()
void reserve (size_t capacity)

Detailed Description

The CME Market Data Platform sends detailed information on the trade in addition to the trade summary. All details on orders are gathered by the Handler during market data processing and exposed through the appropriate callbacks.

Definition at line 75 of file TradeOrderIds.h.

Member Typedef Documentation

◆ Details

Alias for the trade order details.

Definition at line 79 of file TradeOrderIds.h.

Constructor & Destructor Documentation

◆ TradeOrderIds() [1/3]

TradeOrderIds ( )
inline

Initializes blank instance.

Definition at line 82 of file TradeOrderIds.h.

◆ TradeOrderIds() [2/3]

TradeOrderIds ( size_t capacity)
inlineexplicit

Initializes the blank instance capacious enough to store the given number of orders.

Definition at line 86 of file TradeOrderIds.h.

◆ TradeOrderIds() [3/3]

TradeOrderIds ( const TradeOrderIds & other)
inline

Initializes as a copy of the other instance.

Definition at line 92 of file TradeOrderIds.h.

◆ ~TradeOrderIds()

~TradeOrderIds ( )
inline

Destructs the internal storage.

Definition at line 98 of file TradeOrderIds.h.

Member Function Documentation

◆ add()

template<class Entry>
void add ( const Entry & entry)
inline

Adds order details to the collection.

Definition at line 122 of file TradeOrderIds.h.

◆ clear()

void clear ( )
inline

Resets the collection to the blank state.

Definition at line 128 of file TradeOrderIds.h.

◆ empty()

bool empty ( ) const
inline

Indicates whether the collection of details is empty.

Definition at line 101 of file TradeOrderIds.h.

◆ operator[]()

const Details & operator[] ( size_t index) const
inline

Provides access to an item by its index.

Definition at line 113 of file TradeOrderIds.h.

◆ reserve()

void reserve ( size_t capacity)
inline

Makes the collection capacious enough to store the given number of items without allocating additional space during insertion.

Definition at line 136 of file TradeOrderIds.h.

◆ size()

size_t size ( ) const
inline

The number of items in the given collection.

Definition at line 107 of file TradeOrderIds.h.