#include <MPTAmount.h>
Definition at line 16 of file MPTAmount.h.
◆ value_type
◆ MPTAmount() [1/5]
| xrpl::MPTAmount::MPTAmount |
( |
| ) |
|
|
default |
◆ MPTAmount() [2/5]
| xrpl::MPTAmount::MPTAmount |
( |
MPTAmount const & | other | ) |
|
|
constexprdefault |
◆ MPTAmount() [3/5]
◆ MPTAmount() [4/5]
| xrpl::MPTAmount::MPTAmount |
( |
Number const & | x | ) |
|
|
explicit |
◆ MPTAmount() [5/5]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator+=()
◆ operator-=()
◆ operator-()
| MPTAmount xrpl::MPTAmount::operator- |
( |
| ) |
const |
◆ operator==() [1/2]
| bool xrpl::MPTAmount::operator== |
( |
MPTAmount const & | other | ) |
const |
◆ operator==() [2/2]
| bool xrpl::MPTAmount::operator== |
( |
value_type | other | ) |
const |
◆ operator<()
| bool xrpl::MPTAmount::operator< |
( |
MPTAmount const & | other | ) |
const |
◆ operator bool()
| xrpl::MPTAmount::operator bool |
( |
| ) |
const |
|
explicitconstexprnoexcept |
Returns true if the amount is not zero.
Definition at line 102 of file MPTAmount.h.
◆ operator Number()
| xrpl::MPTAmount::operator Number |
( |
| ) |
const |
|
noexcept |
◆ signum()
| int xrpl::MPTAmount::signum |
( |
| ) |
const |
|
nodiscardconstexprnoexcept |
Return the sign of the amount.
Definition at line 110 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 122 of file MPTAmount.h.
◆ minPositiveAmount()
| MPTAmount xrpl::MPTAmount::minPositiveAmount |
( |
| ) |
|
|
static |
◆ value_