|
xrpld
|
#include <EitherAmount.h>

Public Member Functions | |
| EitherAmount ()=default | |
| template<StepAmount T> | |
| EitherAmount (T const &a) | |
| template<StepAmount T> | |
| bool | holds () const |
| template<StepAmount T> | |
| T const & | get () const |
Public Attributes | |
| std::variant< XRPAmount, IOUAmount, MPTAmount > | amount |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, EitherAmount const &amt) |
Definition at line 15 of file EitherAmount.h.
|
explicitdefault |
|
explicit |
Definition at line 22 of file EitherAmount.h.
|
nodiscard |
Definition at line 28 of file EitherAmount.h.
|
nodiscard |
Definition at line 35 of file EitherAmount.h.
|
friend |
Definition at line 43 of file EitherAmount.h.
| std::variant<XRPAmount, IOUAmount, MPTAmount> xrpl::EitherAmount::amount |
Definition at line 17 of file EitherAmount.h.