OnixS EBS BrokerTec Market Data and Trading Handler for C++  2.14.1.0
Public Member Functions | Public Attributes | List of all members
PriceLevel Struct Reference

Price Level representation. More...

Public Member Functions

 PriceLevel ()
 Initialize default instance.
 
 PriceLevel (Price price, int64 quantity, uint32 orderCount=0)
 Initialize instance. More...
 
bool operator== (const PriceLevel &p) const
 Compare between price levels.
 
bool operator!= (const PriceLevel &p) const
 Compare between price levels.
 
std::string toString () const
 String representation.
 

Public Attributes

Price price
 Price.
 
int64 quantity
 Quantity.
 
uint32 orderCount
 Number of orders.
 

Detailed Description

Price Level representation.

Constructor & Destructor Documentation

PriceLevel ( Price  price,
int64  quantity,
uint32  orderCount = 0 
)

Initialize instance.

Parameters
[in]priceThe price of the price level.
[in]quantityThe total quantity of the price level.
[in]orderCountNumber of orders on the price level. Zero (0) when not applicable.