#include <OnixS/CME/MDH/ConsolidatedPriceLevel.h>
Public Member Functions | |
ConsolidatedPriceLevel () | |
ConsolidatedPriceLevel (const DirectPriceLevel &direct) | |
ConsolidatedPriceLevel (const ImpliedPriceLevel &implied) | |
ConsolidatedPriceLevel (const DirectPriceLevel &direct, const ImpliedPriceLevel &implied) | |
ConsolidatedPriceLevel (const ConsolidatedPriceLevel &other) | |
~ConsolidatedPriceLevel () | |
bool | exist () const |
const Decimal & | price () const |
Int32 | quantity () const |
const DirectPriceLevel & | direct () const |
void | consolidate (const DirectPriceLevel &direct) |
const ImpliedPriceLevel & | implied () const |
void | consolidate (const ImpliedPriceLevel &implied) |
operator ImpliedPriceLevel () const | |
ConsolidatedPriceLevel & | operator= (const ConsolidatedPriceLevel &other) |
Instance exposes consolidated price level data as well as provides references to price level from direct and implied order books which comply consolidated price level.
Definition at line 35 of file ConsolidatedPriceLevel.h.
|
inline |
Initializes instance indicating absence of consolidated data.
Definition at line 40 of file ConsolidatedPriceLevel.h.
|
inline |
Initializes instance from direct price level only.
Definition at line 47 of file ConsolidatedPriceLevel.h.
|
inline |
Initializes instance from implied price level only.
Definition at line 54 of file ConsolidatedPriceLevel.h.
|
inline |
Initializes instance from both direct and implied price levels.
Definition at line 62 of file ConsolidatedPriceLevel.h.
|
inline |
Initializes instance as copy of the other one.
Definition at line 69 of file ConsolidatedPriceLevel.h.
|
inline |
Finalizes instance.
Definition at line 76 of file ConsolidatedPriceLevel.h.
|
inline |
Consolidates direct price level data part.
Definition at line 110 of file ConsolidatedPriceLevel.h.
|
inline |
Consolidates implied price level data part.
Definition at line 128 of file ConsolidatedPriceLevel.h.
|
inline |
Reference to price level from direct book consolidated into given instance.
Use 'exist' member of returned reference to check whether returned instance refers to a valid data or there were no corresponding level available in direct book.
Definition at line 104 of file ConsolidatedPriceLevel.h.
|
inline |
Indicates whether instance has a valid data and actually exists at the level accessed.
Definition at line 80 of file ConsolidatedPriceLevel.h.
|
inline |
Reference to price level from implied book consolidated into given instance.
Use 'exist' member of returned reference to check whether returned instance refers to a valid data or there were no corresponding level available in implied book.
Definition at line 122 of file ConsolidatedPriceLevel.h.
|
inline |
Casts instance to implied price level.
Definition at line 134 of file ConsolidatedPriceLevel.h.
|
inline |
Re-initializes instance as copy of other one.
Definition at line 147 of file ConsolidatedPriceLevel.h.
|
inline |
Price component.
Definition at line 86 of file ConsolidatedPriceLevel.h.
|
inline |
Quantity component.
Definition at line 92 of file ConsolidatedPriceLevel.h.