xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::batch::Inner Class Reference

Adds an inner Batch transaction to a JTx and autofills it. More...

#include <batch.h>

Collaboration diagram for xrpl::test::jtx::batch::Inner:

Public Member Functions

 Inner (json::Value txn, std::uint32_t const &sequence, std::optional< std::uint32_t > const &ticket=std::nullopt)
void operator() (Env &, JTx &jtx) const
json::Valueoperator[] (json::StaticString const &key)
void removeMember (json::StaticString const &key)
json::Value const & getTxn () const

Private Attributes

json::Value txn_
std::uint32_t seq_
std::optional< std::uint32_tticket_

Detailed Description

Adds an inner Batch transaction to a JTx and autofills it.

Definition at line 57 of file batch.h.

Constructor & Destructor Documentation

◆ Inner()

xrpl::test::jtx::batch::Inner::Inner ( json::Value txn,
std::uint32_t const & sequence,
std::optional< std::uint32_t > const & ticket = std::nullopt )

Definition at line 65 of file batch.h.

Member Function Documentation

◆ operator()()

void xrpl::test::jtx::batch::Inner::operator() ( Env & env,
JTx & jtx ) const

Definition at line 66 of file batch.cpp.

◆ operator[]()

json::Value & xrpl::test::jtx::batch::Inner::operator[] ( json::StaticString const & key)

Definition at line 88 of file batch.h.

◆ removeMember()

void xrpl::test::jtx::batch::Inner::removeMember ( json::StaticString const & key)

Definition at line 94 of file batch.h.

◆ getTxn()

json::Value const & xrpl::test::jtx::batch::Inner::getTxn ( ) const
nodiscard

Definition at line 100 of file batch.h.

Member Data Documentation

◆ txn_

json::Value xrpl::test::jtx::batch::Inner::txn_
private

Definition at line 60 of file batch.h.

◆ seq_

std::uint32_t xrpl::test::jtx::batch::Inner::seq_
private

Definition at line 61 of file batch.h.

◆ ticket_

std::optional<std::uint32_t> xrpl::test::jtx::batch::Inner::ticket_
private

Definition at line 62 of file batch.h.