|
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 66 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SF = SField |
Definition at line 68 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SV = StoredValue |
Definition at line 69 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::OV = OutputValue |
Definition at line 70 of file jtx/TestHelpers.h.
|
explicit |
Definition at line 77 of file jtx/TestHelpers.h.
|
virtualdefault |
|
nodiscardpure virtual |
|
virtual |
Definition at line 87 of file jtx/TestHelpers.h.
|
protected |
Definition at line 73 of file jtx/TestHelpers.h.
|
protected |
Definition at line 74 of file jtx/TestHelpers.h.