CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionContainer< TEntityHeader, TComponentEntity > Struct Template Reference
Inheritance diagram for catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >:
Collaboration diagram for catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >:

Public Member Functions

auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw)
 
auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw) const
 
TComponentEntity * TransactionsPtr ()
 Returns a pointer to transactions contained in this container. More...
 
const TComponentEntity * TransactionsPtr () const
 Returns a const pointer to transactions contained in this container. More...
 

Detailed Description

template<typename TEntityHeader, typename TComponentEntity>
struct catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >

Binary layout for a transaction container.

Note
This container only assumes components of type 'SizePrefixedEntity' but is named 'Transaction' because all current usages are containers of some type of transactions and this naming leads to more natural usage (i.e. Transactions vs Entities).

Member Function Documentation

◆ Transactions() [1/2]

template<typename TEntityHeader, typename TComponentEntity>
auto catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >::Transactions ( EntityContainerErrorPolicy  errorPolicy = EntityContainerErrorPolicy::Throw)
inline

Returns a container wrapping the transactions contained in this container with the desired error policy (errorPolicy).

Here is the caller graph for this function:

◆ Transactions() [2/2]

template<typename TEntityHeader, typename TComponentEntity>
auto catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >::Transactions ( EntityContainerErrorPolicy  errorPolicy = EntityContainerErrorPolicy::Throw) const
inline

Returns a container wrapping the const transactions contained in this container with the desired error policy (errorPolicy).

◆ TransactionsPtr() [1/2]

template<typename TEntityHeader, typename TComponentEntity>
TComponentEntity* catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >::TransactionsPtr ( )
inline

Returns a pointer to transactions contained in this container.

Here is the caller graph for this function:

◆ TransactionsPtr() [2/2]

template<typename TEntityHeader, typename TComponentEntity>
const TComponentEntity* catapult::model::TransactionContainer< TEntityHeader, TComponentEntity >::TransactionsPtr ( ) const
inline

Returns a const pointer to transactions contained in this container.


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