|
| Price () |
| Constructs an uninitialized value of Price.
|
|
| Price (int priceTicks, unsigned priceDenominator) |
| Creates exemplar of Price initializing ticks and denominator.
|
|
| Price (const Price &other, unsigned newDenominator) |
| Converts some Price value to another denominator.
|
|
bool | hasValue () const |
| Indicates if price has value (ticks is not equal to 999999999, i.e. 9 nines).
|
|
template<typename T > |
T | convertTo () const |
| Converts Price representation to needed number type. More...
|
|
| operator float () const |
| Implicit conversion to float number type.
|
|
| operator double () const |
| Implicit conversion to double number type.
|
|
std::string | toString () const |
| string representation of price
|
|
bool | operator== (const Price &right) const |
| Price comparison.
|
|
bool | operator!= (const Price &right) const |
|
bool | operator< (const Price &right) const |
|
bool | operator> (const Price &right) const |
|
bool | operator<= (const Price &right) const |
|
bool | operator>= (const Price &right) const |
|
SGX price system representation.