rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ripple::test::jtx::AnyAmount Struct Reference

Amount specifier with an option for any issuer. More...

#include <amount.h>

Collaboration diagram for ripple::test::jtx::AnyAmount:
Collaboration graph
[legend]

Public Member Functions

 AnyAmount ()=delete
 
 AnyAmount (AnyAmount const &)=default
 
AnyAmountoperator= (AnyAmount const &)=default
 
 AnyAmount (STAmount const &amount)
 
 AnyAmount (STAmount const &amount, any_t const *)
 
void to (AccountID const &id)
 

Public Attributes

bool is_any
 
STAmount value
 

Detailed Description

Amount specifier with an option for any issuer.

Definition at line 516 of file src/test/jtx/amount.h.

Constructor & Destructor Documentation

◆ AnyAmount() [1/4]

ripple::test::jtx::AnyAmount::AnyAmount ( )
delete

◆ AnyAmount() [2/4]

ripple::test::jtx::AnyAmount::AnyAmount ( AnyAmount const &  )
default

◆ AnyAmount() [3/4]

ripple::test::jtx::AnyAmount::AnyAmount ( STAmount const &  amount)

Definition at line 526 of file src/test/jtx/amount.h.

◆ AnyAmount() [4/4]

ripple::test::jtx::AnyAmount::AnyAmount ( STAmount const &  amount,
any_t const *   
)

Definition at line 530 of file src/test/jtx/amount.h.

Member Function Documentation

◆ operator=()

AnyAmount & ripple::test::jtx::AnyAmount::operator= ( AnyAmount const &  )
default

◆ to()

void ripple::test::jtx::AnyAmount::to ( AccountID const &  id)

Definition at line 537 of file src/test/jtx/amount.h.

Member Data Documentation

◆ is_any

bool ripple::test::jtx::AnyAmount::is_any

Definition at line 518 of file src/test/jtx/amount.h.

◆ value

STAmount ripple::test::jtx::AnyAmount::value

Definition at line 519 of file src/test/jtx/amount.h.