|
rippled
|
#include <AmountSpec.h>

Public Member Functions | |
| EitherAmount ()=default | |
| EitherAmount (IOUAmount const &a) | |
| EitherAmount (XRPAmount const &a) | |
| EitherAmount (AmountSpec const &a) | |
Public Attributes | ||
| bool | native = false | |
| union { | ||
| IOUAmount iou = {} | ||
| XRPAmount xrp | ||
| }; | ||
Friends | |
| std::ostream & | operator<< (std::ostream &stream, EitherAmount const &amt) |
Definition at line 40 of file AmountSpec.h.
|
default |
|
explicit |
Definition at line 54 of file AmountSpec.h.
|
explicit |
Definition at line 63 of file AmountSpec.h.
|
explicit |
Definition at line 73 of file AmountSpec.h.
|
friend |
Definition at line 85 of file AmountSpec.h.
| bool ripple::EitherAmount::native = false |
Definition at line 43 of file AmountSpec.h.
| IOUAmount ripple::EitherAmount::iou = {} |
Definition at line 48 of file AmountSpec.h.
| XRPAmount ripple::EitherAmount::xrp |
Definition at line 49 of file AmountSpec.h.
| union { ... } ripple::EitherAmount |