rippled
Public Member Functions | Private Attributes | Friends | List of all members
ripple::RCLTxSet::MutableTxSet Class Reference
Collaboration diagram for ripple::RCLTxSet::MutableTxSet:
Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

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

Friends

class RCLTxSet
 

Detailed Description

Definition at line 74 of file RCLCxTx.h.

Constructor & Destructor Documentation

◆ MutableTxSet()

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

Definition at line 81 of file RCLCxTx.h.

Member Function Documentation

◆ insert()

bool ripple::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 91 of file RCLCxTx.h.

◆ erase()

bool ripple::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 102 of file RCLCxTx.h.

Friends And Related Function Documentation

◆ RCLTxSet

friend class RCLTxSet
friend

Definition at line 76 of file RCLCxTx.h.

Member Data Documentation

◆ map_

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

The SHAMap representing the transactions.

Definition at line 78 of file RCLCxTx.h.