CatapultServer  v0.5.0.1 (Elephant)
Elements.h File Reference
Include dependency graph for Elements.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::model::TransactionElement
 Processing element for a transaction composed of a transaction and metadata. More...
 
struct  catapult::model::BlockElement
 Processing element for a block composed of a block and metadata. More...
 

Namespaces

 catapult
 
 catapult::model
 

Typedefs

using catapult::model::MatchingEntityPredicate = predicate< BasicEntityType, Timestamp, const Hash256 & >
 Predicate for evaluating a timestamp, a hash and an entity type. More...
 

Functions

void catapult::model::ExtractMatchingEntityInfos (const std::vector< BlockElement > &elements, WeakEntityInfos &entityInfos, const MatchingEntityPredicate &predicate)
 Extracts all entity infos for which predicate returns true from elements into entityInfos. More...
 
void catapult::model::ExtractEntityInfos (const BlockElement &element, WeakEntityInfos &entityInfos)
 Extracts all entity infos from element into entityInfos. More...
 
void catapult::model::ExtractTransactionInfos (std::vector< TransactionInfo > &transactionInfos, const std::shared_ptr< const BlockElement > &pBlockElement)
 
TransactionInfo catapult::model::MakeTransactionInfo (const std::shared_ptr< const Transaction > &pTransaction, const TransactionElement &transactionElement)
 Makes a transaction info by merging pTransaction and transactionElement. More...