OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
TradeOrderIds Class Reference

#include <OnixS/CME/ConflatedUDP/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 ( )

Initializes blank instance.

Definition at line 95 of file TradeOrderIds.h.

TradeOrderIds ( size_t  capacity)

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)

Initializes as a copy of the other instance.

Definition at line 109 of file TradeOrderIds.h.

~TradeOrderIds ( )

Destructs the internal storage.

Definition at line 116 of file TradeOrderIds.h.

Member Function Documentation

void add ( const Entry &  entry)

Adds order details to the collection.

Definition at line 151 of file TradeOrderIds.h.

void clear ( )

Resets the collection to the blank state.

Definition at line 158 of file TradeOrderIds.h.

bool empty ( ) const

Indicates whether the collection of details is empty.

Definition at line 121 of file TradeOrderIds.h.

const Details& operator[] ( size_t  index) const

Provides access to an item by its index.

Definition at line 135 of file TradeOrderIds.h.

void reserve ( size_t  capacity)

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

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: