|
rippled
|
Generic helper class for helper clases 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 clases 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 58 of file TestHelpers.h.
| using ripple::test::jtx::JTxField< SField, StoredValue, OutputValue >::SF = SField |
Definition at line 60 of file TestHelpers.h.
| using ripple::test::jtx::JTxField< SField, StoredValue, OutputValue >::SV = StoredValue |
Definition at line 61 of file TestHelpers.h.
| using ripple::test::jtx::JTxField< SField, StoredValue, OutputValue >::OV = OutputValue |
Definition at line 62 of file TestHelpers.h.
|
explicit |
Definition at line 69 of file TestHelpers.h.
|
virtualdefault |
|
pure virtual |
|
virtual |
Definition at line 80 of file TestHelpers.h.
|
protected |
Definition at line 65 of file TestHelpers.h.
|
protected |
Definition at line 66 of file TestHelpers.h.