#include <MPTAmount.h>
Definition at line 36 of file MPTAmount.h.
◆ value_type
◆ MPTAmount() [1/4]
| ripple::MPTAmount::MPTAmount |
( |
| ) |
|
|
default |
◆ MPTAmount() [2/4]
| constexpr ripple::MPTAmount::MPTAmount |
( |
MPTAmount const & |
other | ) |
|
|
constexprdefault |
◆ MPTAmount() [3/4]
| ripple::MPTAmount::MPTAmount |
( |
Number const & |
x | ) |
|
|
explicit |
◆ MPTAmount() [4/4]
| constexpr ripple::MPTAmount::MPTAmount |
( |
value_type |
value | ) |
|
|
explicitconstexpr |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator+=()
◆ operator-=()
◆ operator-()
| MPTAmount ripple::MPTAmount::operator- |
( |
| ) |
const |
◆ operator==() [1/2]
| bool ripple::MPTAmount::operator== |
( |
MPTAmount const & |
other | ) |
const |
◆ operator==() [2/2]
| bool ripple::MPTAmount::operator== |
( |
value_type |
other | ) |
const |
◆ operator<()
| bool ripple::MPTAmount::operator< |
( |
MPTAmount const & |
other | ) |
const |
◆ operator bool()
| constexpr ripple::MPTAmount::operator bool |
( |
| ) |
const |
|
explicitconstexprnoexcept |
Returns true if the amount is not zero.
Definition at line 116 of file MPTAmount.h.
◆ operator Number()
| ripple::MPTAmount::operator Number |
( |
| ) |
const |
|
noexcept |
◆ signum()
| constexpr int ripple::MPTAmount::signum |
( |
| ) |
const |
|
constexprnoexcept |
Return the sign of the amount.
Definition at line 123 of file MPTAmount.h.
◆ value()
Returns the underlying value.
Code SHOULD NOT call this function unless the type has been abstracted away, e.g. in a templated function.
Definition at line 133 of file MPTAmount.h.
◆ minPositiveAmount()
| MPTAmount ripple::MPTAmount::minPositiveAmount |
( |
| ) |
|
|
static |
◆ value_