|
rippled
|
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 const &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 33 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SF = SField |
Definition at line 35 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SV = StoredValue |
Definition at line 36 of file jtx/TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::OV = OutputValue |
Definition at line 37 of file jtx/TestHelpers.h.
|
explicit |
Definition at line 44 of file jtx/TestHelpers.h.
|
virtualdefault |
|
pure virtual |
|
virtual |
Definition at line 54 of file jtx/TestHelpers.h.
|
protected |
Definition at line 40 of file jtx/TestHelpers.h.
|
protected |
Definition at line 41 of file jtx/TestHelpers.h.