|
xrpld
|
Generic helper class for helper classes that set a field on a JTx. More...
#include <TestHelpers.h>

Public Types | |
| using | SF = SField |
| using | SV = StoredValue |
| using | OV = OutputValue |
Public Member Functions | |
| JTxField (SF const &sfield, SV value) | |
| virtual | ~JTxField ()=default |
| virtual OV | value () const =0 |
| virtual void | operator() (Env &, JTx &jt) const |
Protected Attributes | |
| SF const & | sfield_ |
| SV | value_ |
Generic helper class for helper classes that set a field on a JTx.
Not every helper will be able to use this because of conversions and other issues, but for classes where it's straightforward, this can simplify things.
Definition at line 67 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SF = SField |
Definition at line 69 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SV = StoredValue |
Definition at line 70 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::OV = OutputValue |
Definition at line 71 of file jtx/TestHelpers.h.
|
explicit |
Definition at line 78 of file jtx/TestHelpers.h.
|
virtualdefault |
|
nodiscardpure virtual |
|
virtual |
Definition at line 88 of file jtx/TestHelpers.h.
|
protected |
Definition at line 74 of file jtx/TestHelpers.h.
|
protected |
Definition at line 75 of file jtx/TestHelpers.h.