#include <OnixS/CME/MDH/DirectPriceLevel.h>
Public Member Functions | |
| constexpr | DirectPriceLevel () noexcept=default |
| constexpr | DirectPriceLevel (const DirectPriceLevel &other) noexcept=default |
| constexpr | DirectPriceLevel (DirectPriceLevel &&other) noexcept=default |
| constexpr | DirectPriceLevel (const Messaging::Decimal &price, Messaging::Int32 qty, Messaging::Int32 ordersQty) noexcept |
| ~DirectPriceLevel ()=default | |
| Messaging::Int32 & | numberOfOrders () noexcept |
| constexpr Messaging::Int32 | numberOfOrders () const noexcept |
| DirectPriceLevel & | operator= (const DirectPriceLevel &other) noexcept=default |
| DirectPriceLevel & | operator= (DirectPriceLevel &&other) noexcept=default |
| Public Member Functions inherited from ImpliedPriceLevel | |
| constexpr | ImpliedPriceLevel () noexcept=default |
| constexpr | ImpliedPriceLevel (const ImpliedPriceLevel &other) noexcept=default |
| constexpr | ImpliedPriceLevel (ImpliedPriceLevel &&other) noexcept=default |
| constexpr | ImpliedPriceLevel (const Messaging::Decimal &price, MbpBookQuantity qty) noexcept |
| ~ImpliedPriceLevel ()=default | |
| constexpr bool | exist () const noexcept |
| bool & | exist () noexcept |
| constexpr const Messaging::Decimal & | price () const noexcept |
| Messaging::Decimal & | price () noexcept |
| constexpr MbpBookQuantity | quantity () const noexcept |
| MbpBookQuantity & | quantity () noexcept |
| ImpliedPriceLevel & | operator= (const ImpliedPriceLevel &other) noexcept=default |
| ImpliedPriceLevel & | operator= (ImpliedPriceLevel &&other) noexcept=default |
Stores direct price level data, including the aggregate quantity inherited from ImpliedPriceLevel and the number of orders available at the level.
Definition at line 31 of file DirectPriceLevel.h.
|
constexprdefaultnoexcept |
Constructs an absent price level.
|
constexprdefaultnoexcept |
Constructs a price level as a copy of another instance.
| other | Price level whose state is copied. |
|
constexprdefaultnoexcept |
Constructs a price level by moving another instance.
| other | Price level whose state is moved. |
|
inlineconstexprnoexcept |
Constructs a present price level with the specified attributes.
| price | Price value for the level. |
| qty | Aggregate quantity available at the level. |
| ordersQty | Number of orders available at the level. |
Definition at line 49 of file DirectPriceLevel.h.
|
default |
Destroys the price level.
|
inlineconstexprnoexcept |
Gets the number of orders at the level.
Definition at line 75 of file DirectPriceLevel.h.
|
inlinenoexcept |
Provides mutable access to the number of orders at the level.
Definition at line 64 of file DirectPriceLevel.h.
|
defaultnoexcept |
Replaces this price level with a copy of another instance.
| other | Price level whose state is copied. |
|
defaultnoexcept |
Replaces this price level by moving another instance.
| other | Price level whose state is moved. |