xrpld
Loading...
Searching...
No Matches
xrpl::RCLTxSet::MutableTxSet Class Reference

#include <RCLCxTx.h>

Collaboration diagram for xrpl::RCLTxSet::MutableTxSet:

Public Member Functions

 MutableTxSet (RCLTxSet const &src)
bool insert (Tx const &t)
 Insert a new transaction into the set.
bool erase (Tx::ID const &entry)
 Remove a transaction from the set.

Private Attributes

std::shared_ptr< SHAMapmap_
 The SHAMap representing the transactions.

Friends

class RCLTxSet

Detailed Description

Definition at line 51 of file RCLCxTx.h.

Constructor & Destructor Documentation

◆ MutableTxSet()

xrpl::RCLTxSet::MutableTxSet::MutableTxSet ( RCLTxSet const & src)

Definition at line 58 of file RCLCxTx.h.

Member Function Documentation

◆ insert()

bool xrpl::RCLTxSet::MutableTxSet::insert ( Tx const & t)

Insert a new transaction into the set.

Parameters
tThe transaction to insert.
Returns
Whether the transaction took place.

Definition at line 68 of file RCLCxTx.h.

◆ erase()

bool xrpl::RCLTxSet::MutableTxSet::erase ( Tx::ID const & entry)

Remove a transaction from the set.

Parameters
entryThe ID of the transaction to remove.
Returns
Whether the transaction was removed.

Definition at line 79 of file RCLCxTx.h.

◆ RCLTxSet

friend class RCLTxSet
friend

Definition at line 53 of file RCLCxTx.h.

Member Data Documentation

◆ map_

std::shared_ptr<SHAMap> xrpl::RCLTxSet::MutableTxSet::map_
private

The SHAMap representing the transactions.

Definition at line 55 of file RCLCxTx.h.