CatapultServer  v0.5.0.1 (Elephant)
catapult::observers::ObserverStatementBuilder Class Reference

Facade on top of a block statement builder that is accessible by observers. More...

Collaboration diagram for catapult::observers::ObserverStatementBuilder:

Public Member Functions

 ObserverStatementBuilder ()
 Creates a default builder. More...
 
 ObserverStatementBuilder (model::BlockStatementBuilder &statementBuilder)
 Creates a builder around statementBuilder. More...
 
model::ReceiptSource source () const
 Gets active source. More...
 
void setSource (const model::ReceiptSource &source)
 Sets active source. More...
 
void addReceipt (const model::Receipt &receipt)
 Adds receipt to this builder. More...
 

Private Attributes

model::BlockStatementBuilderm_pStatementBuilder
 

Detailed Description

Facade on top of a block statement builder that is accessible by observers.

Constructor & Destructor Documentation

◆ ObserverStatementBuilder() [1/2]

catapult::observers::ObserverStatementBuilder::ObserverStatementBuilder ( )

Creates a default builder.

◆ ObserverStatementBuilder() [2/2]

catapult::observers::ObserverStatementBuilder::ObserverStatementBuilder ( model::BlockStatementBuilder statementBuilder)

Creates a builder around statementBuilder.

Member Function Documentation

◆ addReceipt()

void catapult::observers::ObserverStatementBuilder::addReceipt ( const model::Receipt receipt)

Adds receipt to this builder.

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

◆ setSource()

void catapult::observers::ObserverStatementBuilder::setSource ( const model::ReceiptSource source)

Sets active source.

Here is the call graph for this function:

◆ source()

model::ReceiptSource catapult::observers::ObserverStatementBuilder::source ( ) const

Gets active source.

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

Member Data Documentation

◆ m_pStatementBuilder

model::BlockStatementBuilder* catapult::observers::ObserverStatementBuilder::m_pStatementBuilder
private

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