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

#include <OnixS/CME/ConflatedUDP/Order.h>

Public Member Functions

 Order ()
 
 Order (OrderId id, OrderPriority priority, const Decimal &price, DisplayQuantity quantity)
 
OrderId id () const
 
void id (OrderId id)
 
OrderPriority priority () const
 
void priority (OrderPriority priority)
 
const Decimalprice () const
 
void price (const Decimal &price)
 
DisplayQuantity quantity () const
 
void quantity (DisplayQuantity quantity)
 

Protected Attributes

OrderId id_
 
OrderPriority priority_
 
Decimal price_
 
DisplayQuantity quantity_
 

Detailed Description

Definition at line 79 of file Order.h.

Constructor & Destructor Documentation

Order ( )
inline

Initializes blank/null instance.

Definition at line 90 of file Order.h.

Order ( OrderId  id,
OrderPriority  priority,
const Decimal price,
DisplayQuantity  quantity 
)
inline

Initializes instance according to given values.

Definition at line 104 of file Order.h.

Member Function Documentation

OrderId id ( ) const
inline

Order identifier.

Definition at line 117 of file Order.h.

void id ( OrderId  id)
inline

Updates order identifier.

Definition at line 124 of file Order.h.

const Decimal& price ( ) const
inline

Order price.

Definition at line 145 of file Order.h.

void price ( const Decimal price)
inline

Updates order price.

Definition at line 152 of file Order.h.

OrderPriority priority ( ) const
inline

Order priority.

Definition at line 131 of file Order.h.

void priority ( OrderPriority  priority)
inline

Updates order priority.

Definition at line 138 of file Order.h.

DisplayQuantity quantity ( ) const
inline

Display quantity.

Definition at line 159 of file Order.h.

void quantity ( DisplayQuantity  quantity)
inline

Updates display quantity.

Definition at line 166 of file Order.h.

Member Data Documentation

OrderId id_
protected

Definition at line 82 of file Order.h.

Decimal price_
protected

Definition at line 85 of file Order.h.

OrderPriority priority_
protected

Definition at line 83 of file Order.h.

DisplayQuantity quantity_
protected

Definition at line 86 of file Order.h.


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