|
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 30 of file TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SF = SField |
Definition at line 32 of file TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::SV = StoredValue |
Definition at line 33 of file TestHelpers.h.
| using xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::OV = OutputValue |
Definition at line 34 of file TestHelpers.h.
|
explicit |
Definition at line 41 of file TestHelpers.h.
|
virtualdefault |
|
pure virtual |
|
virtual |
Definition at line 51 of file TestHelpers.h.
|
protected |
Definition at line 37 of file TestHelpers.h.
|
protected |
Definition at line 38 of file TestHelpers.h.