48 return 18446744073709551615ul;
56 return 18446744073709551615ul;
64 return 9223372036854775807l;
95 constexpr Order() noexcept = default;
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_NODISCARD
Represents an order in a Market By Order (MBO) book.
DisplayQuantity quantity_
void quantity(DisplayQuantity quantity) noexcept
Sets the displayed quantity.
constexpr OrderId id() const noexcept
Gets the order identifier.
void price(const Messaging::Decimal &price) noexcept
Sets the order price.
constexpr Order() noexcept=default
Constructs an order with all attributes set to their null values.
constexpr OrderPriority priority() const noexcept
Gets the matching priority.
void id(OrderId id) noexcept
Sets the order identifier.
void priority(OrderPriority priority) noexcept
Sets the matching priority.
Messaging::Decimal price_
constexpr const Messaging::Decimal & price() const noexcept
Gets the order price.
constexpr DisplayQuantity quantity() const noexcept
Gets the displayed quantity.
FloatingPointDecimal< DecimalMantissa, DecimalExponent > Decimal
Universal decimal type.
std::uint64_t UInt64
uInt64.
Messaging::UInt64 OrderPriority
Represents an order's matching priority.
Messaging::UInt64 OrderId
Identifies an order in a Market By Order book.
void toStr(std::string &str, BookState::Enum bookState)
Appends a string representation of a book state.
Messaging::Int32 DisplayQuantity
Represents the displayed quantity of an order.
Provides the null values used for absent order attributes.
static constexpr OrderPriority nullPriority() noexcept
Gets the null order priority.
static constexpr DisplayQuantity nullQuantity() noexcept
Gets the null displayed quantity.
static constexpr OrderId nullId() noexcept
Gets the null order identifier.
static bool nullPrice(const Messaging::Decimal &price) noexcept
Checks whether a price has the null-price mantissa.
static constexpr Messaging::Int64 nullPriceMantissa() noexcept
Gets the mantissa used to represent a null price.