CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionChangeTracker Class Reference

Tracks transaction changes and keeps track of net changes. More...

Public Member Functions

const TransactionInfosSet & addedTransactionInfos () const
 Gets the infos of net added transactions. More...
 
const TransactionInfosSet & removedTransactionInfos () const
 Gets the infos of net removed transactions. More...
 
void add (const TransactionInfo &transactionInfo)
 Marks transaction info (transactionInfo) as added. More...
 
void remove (const TransactionInfo &transactionInfo)
 Marks transaction info (transactionInfo) as removed. More...
 
void reset ()
 Clears all added and removed transactions. More...
 

Private Attributes

TransactionInfosSet m_addedTransactionInfos
 
TransactionInfosSet m_removedTransactionInfos
 

Detailed Description

Tracks transaction changes and keeps track of net changes.

Member Function Documentation

◆ add()

void catapult::model::TransactionChangeTracker::add ( const TransactionInfo &  transactionInfo)
inline

Marks transaction info (transactionInfo) as added.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addedTransactionInfos()

const TransactionInfosSet& catapult::model::TransactionChangeTracker::addedTransactionInfos ( ) const
inline

Gets the infos of net added transactions.

Here is the caller graph for this function:

◆ remove()

void catapult::model::TransactionChangeTracker::remove ( const TransactionInfo &  transactionInfo)
inline

Marks transaction info (transactionInfo) as removed.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removedTransactionInfos()

const TransactionInfosSet& catapult::model::TransactionChangeTracker::removedTransactionInfos ( ) const
inline

Gets the infos of net removed transactions.

Here is the caller graph for this function:

◆ reset()

void catapult::model::TransactionChangeTracker::reset ( )
inline

Clears all added and removed transactions.

Here is the caller graph for this function:

Member Data Documentation

◆ m_addedTransactionInfos

TransactionInfosSet catapult::model::TransactionChangeTracker::m_addedTransactionInfos
private

◆ m_removedTransactionInfos

TransactionInfosSet catapult::model::TransactionChangeTracker::m_removedTransactionInfos
private

The documentation for this class was generated from the following file: