56 : exist_(other.exist_)
57 , price_(other.price_)
59 , ordersQty_(other.ordersQty_)
72 , ordersQty_(ordersQty)
141 price_ = other.price_;
143 exist_ = other.exist_;
144 ordersQty_ = other.ordersQty_;
151ONIXS_CONFLATEDUDP_EXPORTED
165 toStr(str, priceLevel);
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
A real number with floating exponent.
Encapsulates price level concept.
Decimal & price()
Price value.
DirectPriceLevel(const Decimal &price, Int32 qty, Int32 ordersQty)
bool exist() const
Identifies whether price level exist.
Int64 quantity() const
Quantify for the given price.
DirectPriceLevel(const DirectPriceLevel &other)
Initializes as copy of other level.
Int32 numberOfOrders() const
Total number of orders of given price.
const Decimal & price() const
Int64 & quantity()
Quantify for the given price.
DirectPriceLevel()
Initializes undefined level.
bool & exist()
Updates existence status.
Int32 & numberOfOrders()
Updates total number of orders.
ONIXS_CONFLATEDUDP_EXPORTED void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.