OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
TradeOrderIds Class Reference

#include <OnixS/CME/MDH/TradeOrderIds.h>

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

Alias for the trade order details.

Definition at line 79 of file TradeOrderIds.h.

Constructor & Destructor Documentation

TradeOrderIds ( )
inline

Initializes blank instance.

Definition at line 82 of file TradeOrderIds.h.

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 ( const TradeOrderIds other)
inline

Initializes as a copy of the other instance.

Definition at line 92 of file TradeOrderIds.h.

~TradeOrderIds ( )
inline

Destructs the internal storage.

Definition at line 98 of file TradeOrderIds.h.

Member Function Documentation

void add ( const Entry &  entry)
inline

Adds order details to the collection.

Definition at line 122 of file TradeOrderIds.h.

void clear ( )
inline

Resets the collection to the blank state.

Definition at line 128 of file TradeOrderIds.h.

bool empty ( ) const
inline

Indicates whether the collection of details is empty.

Definition at line 101 of file TradeOrderIds.h.

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

Provides access to an item by its index.

Definition at line 113 of file TradeOrderIds.h.

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_t size ( ) const
inline

The number of items in the given collection.

Definition at line 107 of file TradeOrderIds.h.


The documentation for this class was generated from the following file: