rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::test::jtx::batch::inner Class Reference

Adds a new Batch Txn on a JTx and autofills. More...

#include <batch.h>

Collaboration diagram for ripple::test::jtx::batch::inner:
Collaboration graph
[legend]

Public Member Functions

 inner (Json::Value const &txn, std::uint32_t const &sequence, std::optional< std::uint32_t > const &ticket=std::nullopt, std::optional< std::uint32_t > const &fee=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 a new Batch Txn on a JTx and autofills.

Definition at line 41 of file batch.h.

Constructor & Destructor Documentation

◆ inner()

ripple::test::jtx::batch::inner::inner ( Json::Value const &  txn,
std::uint32_t const &  sequence,
std::optional< std::uint32_t > const &  ticket = std::nullopt,
std::optional< std::uint32_t > const &  fee = std::nullopt 
)

Definition at line 49 of file batch.h.

Member Function Documentation

◆ operator()()

void ripple::test::jtx::batch::inner::operator() ( Env env,
JTx jtx 
) const

Definition at line 47 of file batch.cpp.

◆ operator[]()

Json::Value & ripple::test::jtx::batch::inner::operator[] ( Json::StaticString const &  key)

Definition at line 73 of file batch.h.

◆ removeMember()

void ripple::test::jtx::batch::inner::removeMember ( Json::StaticString const &  key)

Definition at line 79 of file batch.h.

◆ getTxn()

Json::Value const & ripple::test::jtx::batch::inner::getTxn ( ) const

Definition at line 85 of file batch.h.

Member Data Documentation

◆ txn_

Json::Value ripple::test::jtx::batch::inner::txn_
private

Definition at line 44 of file batch.h.

◆ seq_

std::uint32_t ripple::test::jtx::batch::inner::seq_
private

Definition at line 45 of file batch.h.

◆ ticket_

std::optional<std::uint32_t> ripple::test::jtx::batch::inner::ticket_
private

Definition at line 46 of file batch.h.