rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
xrpl::test::jtx::stAmountField Struct Reference

#include <TestHelpers.h>

Inheritance diagram for xrpl::test::jtx::stAmountField:
Inheritance graph
[legend]
Collaboration diagram for xrpl::test::jtx::stAmountField:
Collaboration graph
[legend]

Public Types

using SF = SF_AMOUNT
 
using SV = STAmount
 
using OV = Json::Value
 
using base = JTxField< SF, SV, OV >
 

Public Member Functions

 stAmountField (SF const &sfield, SV const &value)
 
OV value () const override
 
virtual void operator() (Env &, JTx &jt) const
 

Protected Attributes

SV value_
 
SF const & sfield_
 

Detailed Description

Definition at line 163 of file TestHelpers.h.

Member Typedef Documentation

◆ SF

Definition at line 165 of file TestHelpers.h.

◆ SV

Definition at line 166 of file TestHelpers.h.

◆ OV

Definition at line 167 of file TestHelpers.h.

◆ base

Definition at line 168 of file TestHelpers.h.

Constructor & Destructor Documentation

◆ stAmountField()

xrpl::test::jtx::stAmountField::stAmountField ( SF const &  sfield,
SV const &  value 
)
explicit

Definition at line 174 of file TestHelpers.h.

Member Function Documentation

◆ value()

OV xrpl::test::jtx::stAmountField::value ( ) const
overridevirtual

◆ operator()()

virtual void xrpl::test::jtx::JTxField< SF_AMOUNT , STAmount , Json::Value >::operator() ( Env ,
JTx jt 
) const
virtualinherited

Definition at line 63 of file TestHelpers.h.

Member Data Documentation

◆ value_

SV xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::value_
protected

Definition at line 49 of file TestHelpers.h.

◆ sfield_

SF const& xrpl::test::jtx::JTxField< SF_AMOUNT , STAmount , Json::Value >::sfield_
protectedinherited

Definition at line 48 of file TestHelpers.h.