xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::StAmountField Struct Reference

#include <TestHelpers.h>

Inheritance diagram for xrpl::test::jtx::StAmountField:
Collaboration diagram for xrpl::test::jtx::StAmountField:

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 149 of file jtx/TestHelpers.h.

Member Typedef Documentation

◆ SF

◆ SV

◆ OV

◆ base

Definition at line 154 of file jtx/TestHelpers.h.

Constructor & Destructor Documentation

◆ StAmountField()

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

Definition at line 160 of file jtx/TestHelpers.h.

Member Function Documentation

◆ value()

OV xrpl::test::jtx::StAmountField::value ( ) const
nodiscardoverridevirtual

◆ operator()()

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

Definition at line 54 of file jtx/TestHelpers.h.

Member Data Documentation

◆ value_

SV xrpl::test::jtx::JTxField< SF, SV, OV >::value_
protected

Definition at line 41 of file jtx/TestHelpers.h.

◆ sfield_

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

Definition at line 40 of file jtx/TestHelpers.h.