Encapsulates price level concept. More...
Public Member Functions | |
PriceLevel (const Price &price, const Quantity &quantity) | |
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 | 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.