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_;
151 ONIXS_CONFLATEDUDP_EXPORTED
165 toStr(str, priceLevel);
Int32 numberOfOrders() const
Total number of orders of given price.
A real number with floating exponent.
DirectPriceLevel(const Decimal &price, Int32 qty, Int32 ordersQty)
Int32 & numberOfOrders()
Updates total number of orders.
const Decimal & price() const
bool & exist()
Updates existence status.
Encapsulates price level concept.
Decimal & price()
Price value.
DirectPriceLevel(const DirectPriceLevel &other)
Initializes as copy of other level.
Int64 quantity() const
Quantify for the given price.
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
DirectPriceLevel()
Initializes undefined level.
bool exist() const
Identifies whether price level exist.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
std::string toStr(const DirectPriceLevel &priceLevel)
Serializes price level attributes into a string.
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Int64 & quantity()
Quantify for the given price.