Encapsulates price level concept. More...
Public Member Functions | |
PriceLevel (const Price &price, Quantity quantity, VolumeTypes::Enum type) | |
Initializes the instances according to specified attributes. | |
bool | isValid () const |
Validity check. | |
const Price & | price () const |
Price value. | |
Quantity | quantity () const |
Quantify for the given price. | |
void | setQuantity (Quantity q) |
VolumeTypes::Enum | type () const |
Volume type. | |
void | swap (PriceLevel &) |
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. |
Encapsulates price level concept.