CatapultServer
v0.5.0.1 (Elephant)
|
Utility class for extracting addresses. More...
Public Member Functions | |
AddressExtractor (std::unique_ptr< const model::NotificationPublisher > &&pPublisher) | |
Creates an extractor around pPublisher. More... | |
void | extract (model::TransactionInfo &transactionInfo) const |
Extracts transaction addresses into transactionInfo. More... | |
void | extract (model::TransactionInfosSet &transactionInfos) const |
Extracts transaction addresses into transactionInfos. More... | |
void | extract (model::TransactionElement &transactionElement) const |
Extracts transaction addresses into transactionElement. More... | |
void | extract (model::BlockElement &blockElement) const |
Extracts transaction addresses into blockElement. More... | |
Private Attributes | |
std::unique_ptr< const model::NotificationPublisher > | m_pPublisher |
Utility class for extracting addresses.
|
explicit |
Creates an extractor around pPublisher.
void catapult::addressextraction::AddressExtractor::extract | ( | model::BlockElement & | blockElement | ) | const |
Extracts transaction addresses into blockElement.
void catapult::addressextraction::AddressExtractor::extract | ( | model::TransactionElement & | transactionElement | ) | const |
Extracts transaction addresses into transactionElement.
void catapult::addressextraction::AddressExtractor::extract | ( | model::TransactionInfo & | transactionInfo | ) | const |
Extracts transaction addresses into transactionInfo.
void catapult::addressextraction::AddressExtractor::extract | ( | model::TransactionInfosSet & | transactionInfos | ) | const |
Extracts transaction addresses into transactionInfos.
|
private |