OnixS C++ CME Market Data Handler  5.4.0
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

Collection of order details referring to a single trade.

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 80 of file TradeOrderIds.h.

Member Typedef Documentation

Alias for the trade order details.

Definition at line 92 of file TradeOrderIds.h.

Constructor & Destructor Documentation

TradeOrderIds ( )
inline

Initializes blank instance.

Definition at line 95 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 102 of file TradeOrderIds.h.

TradeOrderIds ( const TradeOrderIds other)
inline

Initializes as a copy of the other instance.

Definition at line 109 of file TradeOrderIds.h.

~TradeOrderIds ( )
inline

Destructs the internal storage.

Definition at line 116 of file TradeOrderIds.h.

Member Function Documentation

void add ( const Entry &  entry)
inline

Adds order details to the collection.

Definition at line 151 of file TradeOrderIds.h.

void clear ( )
inline

Resets the collection to the blank state.

Definition at line 158 of file TradeOrderIds.h.

bool empty ( ) const
inline

Indicates whether the collection of details is empty.

Definition at line 121 of file TradeOrderIds.h.

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

Provides access to an item by its index.

Definition at line 135 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 167 of file TradeOrderIds.h.

size_t size ( ) const
inline

The number of items in the given collection.

Definition at line 127 of file TradeOrderIds.h.


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