#include <OnixS/CME/MDH/Order.h>
Public Member Functions | |
| constexpr | Order () noexcept=default |
| constexpr | Order (OrderId id, OrderPriority priority, const Messaging::Decimal &price, DisplayQuantity quantity) noexcept |
| constexpr OrderId | id () const noexcept |
| void | id (OrderId id) noexcept |
| constexpr OrderPriority | priority () const noexcept |
| void | priority (OrderPriority priority) noexcept |
| constexpr const Messaging::Decimal & | price () const noexcept |
| void | price (const Messaging::Decimal &price) noexcept |
| constexpr DisplayQuantity | quantity () const noexcept |
| void | quantity (DisplayQuantity quantity) noexcept |
Protected Attributes | |
| OrderId | id_ {OrderTraits::nullId()} |
| OrderPriority | priority_ {OrderTraits::nullPriority()} |
| Messaging::Decimal | price_ {OrderTraits::nullPriceMantissa(), 0} |
| DisplayQuantity | quantity_ {OrderTraits::nullQuantity()} |
Stores the order identifier, matching priority, price, and displayed quantity. A default-constructed instance has null values for all attributes.
|
constexprdefaultnoexcept |
Constructs an order with all attributes set to their null values.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
protected |
|
protected |
|
protected |
|
protected |