| 
    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 59 of file AmountSpec.h.
      
  | 
  default | 
      
  | 
  explicit | 
Definition at line 73 of file AmountSpec.h.
      
  | 
  explicit | 
Definition at line 82 of file AmountSpec.h.
      
  | 
  explicit | 
Definition at line 92 of file AmountSpec.h.
      
  | 
  friend | 
Definition at line 104 of file AmountSpec.h.
| bool ripple::EitherAmount::native = false | 
Definition at line 62 of file AmountSpec.h.
| IOUAmount ripple::EitherAmount::iou = {} | 
Definition at line 67 of file AmountSpec.h.
| XRPAmount ripple::EitherAmount::xrp | 
Definition at line 68 of file AmountSpec.h.
| union { ... } ripple::EitherAmount |