OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 18.2.0
API documentation
Loading...
Searching...
No Matches
PriceLevel Struct Reference

Public Member Functions

 PriceLevel (const Decimal &price, QuantityType quantity=0, QuantityType numberOfOrders=0, const OrderInfos &orders=OrderInfos())
 PriceLevel ()
 ~PriceLevel ()
const Decimalprice () const
QuantityType quantity () const
QuantityType numberOfOrders () const
const OrderInfosorders () const
void swap (PriceLevel &) throw ()
std::string toString () const
void toString (std::string &) const

Friends

struct Implementation::Order

Detailed Description

Definition at line 55 of file EobiBook.h.

Constructor & Destructor Documentation

◆ PriceLevel() [1/2]

PriceLevel ( const Decimal & price,
QuantityType quantity = 0,
QuantityType numberOfOrders = 0,
const OrderInfos & orders = OrderInfos() )

Initializes the instances according to specified attributes.

◆ PriceLevel() [2/2]

◆ ~PriceLevel()

~PriceLevel ( )
inline

Definition at line 61 of file EobiBook.h.

Member Function Documentation

◆ numberOfOrders()

QuantityType numberOfOrders ( ) const

Total number of orders of given price.

◆ orders()

const OrderInfos & orders ( ) const

orders ids for a given level

◆ price()

const Decimal & price ( ) const

Price value.

◆ quantity()

QuantityType quantity ( ) const

Quantify for the given price.

◆ swap()

void swap ( PriceLevel & )
throw ( )

swap values

◆ toString() [1/2]

std::string toString ( ) const

Returns string representation of the instance.

◆ toString() [2/2]

void toString ( std::string & ) const

Appends representation of the instance to the string.

◆ Implementation::Order

friend struct Implementation::Order
friend

Definition at line 102 of file EobiBook.h.