Public Member Functions | |
| PriceLevel (const Decimal &price, QuantityType quantity=0, QuantityType numberOfOrders=0, const OrderInfos &orders=OrderInfos()) | |
| PriceLevel () | |
| ~PriceLevel () | |
| const Decimal & | price () const |
| QuantityType | quantity () const |
| QuantityType | numberOfOrders () const |
| const OrderInfos & | orders () const |
| void | swap (PriceLevel &) throw () |
| std::string | toString () const |
| void | toString (std::string &) const |
Friends | |
| struct | Implementation::Order |
Definition at line 55 of file EobiBook.h.
| PriceLevel | ( | const Decimal & | price, |
| QuantityType | quantity = 0, | ||
| QuantityType | numberOfOrders = 0, | ||
| const OrderInfos & | orders = OrderInfos() ) |
Initializes the instances according to specified attributes.
| PriceLevel | ( | ) |
|
inline |
Definition at line 61 of file EobiBook.h.
| QuantityType numberOfOrders | ( | ) | const |
Total number of orders of given price.
| const OrderInfos & orders | ( | ) | const |
orders ids for a given level
| const Decimal & price | ( | ) | const |
Price value.
| QuantityType quantity | ( | ) | const |
Quantify for the given price.
| void swap | ( | PriceLevel & | ) | |||
| throw | ( | ) | ||||
swap values
| std::string toString | ( | ) | const |
Returns string representation of the instance.
| void toString | ( | std::string & | ) | const |
Appends representation of the instance to the string.
|
friend |
Definition at line 102 of file EobiBook.h.