#include <OnixS/CME/MDH/ConsolidatedPriceLevel.h>
Public Member Functions | |
| constexpr | ConsolidatedPriceLevel () noexcept=default |
| constexpr | ConsolidatedPriceLevel (const DirectPriceLevel &direct) noexcept |
| constexpr | ConsolidatedPriceLevel (const ImpliedPriceLevel &implied) noexcept |
| constexpr | ConsolidatedPriceLevel (const DirectPriceLevel &direct, const ImpliedPriceLevel &implied) noexcept |
| constexpr | ConsolidatedPriceLevel (const ConsolidatedPriceLevel &other) noexcept=default |
| constexpr | ConsolidatedPriceLevel (ConsolidatedPriceLevel &&other) noexcept=default |
| ~ConsolidatedPriceLevel ()=default | |
| constexpr bool | exist () const noexcept |
| constexpr const Messaging::Decimal & | price () const noexcept |
| constexpr MbpBookQuantity | quantity () const noexcept |
| constexpr const DirectPriceLevel & | direct () const noexcept |
| void | consolidate (const DirectPriceLevel &direct) noexcept |
| constexpr const ImpliedPriceLevel & | implied () const noexcept |
| void | consolidate (const ImpliedPriceLevel &implied) noexcept |
| constexpr | operator ImpliedPriceLevel () const noexcept |
| ConsolidatedPriceLevel & | operator= (const ConsolidatedPriceLevel &other) noexcept=default |
| ConsolidatedPriceLevel & | operator= (ConsolidatedPriceLevel &&other) noexcept=default |
Exposes combined direct and implied book data and keeps references to the component price levels used to calculate the consolidated values.
Definition at line 32 of file ConsolidatedPriceLevel.h.
|
constexprdefaultnoexcept |
Constructs a price level with no consolidated data.
|
inlineconstexprnoexcept |
Constructs a price level from direct book data only.
| direct | Direct price level to reference. |
Definition at line 40 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Constructs a price level from implied book data only.
| implied | Implied price level to reference. |
Definition at line 48 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Constructs a price level from direct and implied book data.
| direct | Direct price level to reference. |
| implied | Implied price level to reference. |
Definition at line 57 of file ConsolidatedPriceLevel.h.
|
constexprdefaultnoexcept |
Constructs a price level as a copy of another instance.
| other | Price level whose component references are copied. |
|
constexprdefaultnoexcept |
Constructs a price level by moving another instance.
| other | Price level whose component references are moved. |
|
default |
Destroys the price level.
|
inlinenoexcept |
Replaces the direct component price level reference.
| direct | Direct price level to reference. |
Definition at line 116 of file ConsolidatedPriceLevel.h.
|
inlinenoexcept |
Replaces the implied component price level reference.
| implied | Implied price level to reference. |
Definition at line 133 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Gets the direct component price level.
Definition at line 109 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Checks whether direct or implied data exists at this level.
Definition at line 77 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Gets the implied component price level.
Definition at line 126 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Converts the consolidated level to an implied-style price level.
Definition at line 141 of file ConsolidatedPriceLevel.h.
|
defaultnoexcept |
Replaces this price level by moving another instance.
| other | Price level whose component references are moved. |
|
defaultnoexcept |
Replaces this price level with a copy of another instance.
| other | Price level whose component references are copied. |
|
inlineconstexprnoexcept |
Gets the consolidated price.
Definition at line 88 of file ConsolidatedPriceLevel.h.
|
inlineconstexprnoexcept |
Gets the consolidated aggregate quantity.
Definition at line 99 of file ConsolidatedPriceLevel.h.