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

#include <TestHelpers.h>

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

Public Types

using SF = SF_ACCOUNT
using SV = AccountID
using OV = std::string
using base = JTxField<SF, SV, OV>

Public Member Functions

 AccountIdField (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 127 of file jtx/TestHelpers.h.

Member Typedef Documentation

◆ SF

◆ SV

◆ OV

◆ base

Constructor & Destructor Documentation

◆ AccountIdField()

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

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

Member Function Documentation

◆ value()

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

◆ operator()()

virtual void xrpl::test::jtx::JTxField< SF_ACCOUNT, AccountID, std::string >::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_ACCOUNT, AccountID, std::string >::sfield_
protectedinherited

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