CatapultServer
v0.5.0.1 (Elephant)
|
Facade on top of a block statement builder that is accessible by observers. More...
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::BlockStatementBuilder * | m_pStatementBuilder |
Facade on top of a block statement builder that is accessible by observers.
catapult::observers::ObserverStatementBuilder::ObserverStatementBuilder | ( | ) |
Creates a default builder.
catapult::observers::ObserverStatementBuilder::ObserverStatementBuilder | ( | model::BlockStatementBuilder & | statementBuilder | ) |
Creates a builder around statementBuilder.
void catapult::observers::ObserverStatementBuilder::addReceipt | ( | const model::Receipt & | receipt | ) |
Adds receipt to this builder.
void catapult::observers::ObserverStatementBuilder::setSource | ( | const model::ReceiptSource & | source | ) |
Sets active source.
model::ReceiptSource catapult::observers::ObserverStatementBuilder::source | ( | ) | const |
Gets active source.
|
private |