xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::BlobField Struct Referenceabstract

#include <TestHelpers.h>

Inheritance diagram for xrpl::test::jtx::BlobField:
Collaboration diagram for xrpl::test::jtx::BlobField:

Public Types

using SF = SF_VL
using SV = std::string
using base = JTxField<SF, SV, SV>
using OV

Public Member Functions

 BlobField (SF const &sfield, Slice const &cond)
template<size_t N>
 BlobField (SF const &sfield, std::array< std::uint8_t, N > const &c)
 JTxField (SF const &sfield, SV value)
virtual OV value () const=0
virtual void operator() (Env &, JTx &jt) const

Protected Attributes

SF const & sfield_
SV value_

Detailed Description

Definition at line 171 of file jtx/TestHelpers.h.

Member Typedef Documentation

◆ SF

Definition at line 173 of file jtx/TestHelpers.h.

◆ SV

Definition at line 174 of file jtx/TestHelpers.h.

◆ base

Definition at line 175 of file jtx/TestHelpers.h.

◆ OV

Definition at line 37 of file jtx/TestHelpers.h.

Constructor & Destructor Documentation

◆ BlobField() [1/2]

xrpl::test::jtx::BlobField::BlobField ( SF const & sfield,
Slice const & cond )
explicit

Definition at line 179 of file jtx/TestHelpers.h.

◆ BlobField() [2/2]

template<size_t N>
xrpl::test::jtx::BlobField::BlobField ( SF const & sfield,
std::array< std::uint8_t, N > const & c )
explicit

Definition at line 184 of file jtx/TestHelpers.h.

Member Function Documentation

◆ JTxField()

xrpl::test::jtx::JTxField< SField, StoredValue, OutputValue >::JTxField ( SF const & sfield,
SV value )
explicit

Definition at line 44 of file jtx/TestHelpers.h.

◆ value()

virtual OV xrpl::test::jtx::JTxField< SF_VL, std::string, std::string >::value ( ) const
nodiscardpure virtualinherited

◆ operator()()

virtual void xrpl::test::jtx::JTxField< SF_VL, std::string, std::string >::operator() ( Env & ,
JTx & jt ) const
virtualinherited

Definition at line 54 of file jtx/TestHelpers.h.

Member Data Documentation

◆ sfield_

SF const& xrpl::test::jtx::JTxField< SF_VL, std::string, std::string >::sfield_
protectedinherited

Definition at line 40 of file jtx/TestHelpers.h.

◆ value_

SV xrpl::test::jtx::JTxField< SF_VL, std::string, std::string >::value_
protectedinherited

Definition at line 41 of file jtx/TestHelpers.h.