CatapultServer  v0.5.0.1 (Elephant)
catapult::api::RegistryDependentTraits< TEntity > Struct Template Reference
Collaboration diagram for catapult::api::RegistryDependentTraits< TEntity >:

Public Member Functions

 RegistryDependentTraits (const model::TransactionRegistry &registry)
 Creates traits around registry. More...
 
bool operator() (const TEntity &entity)
 Returns true if entity passes size checks. More...
 

Private Attributes

const model::TransactionRegistrym_registry
 

Detailed Description

template<typename TEntity>
struct catapult::api::RegistryDependentTraits< TEntity >

Base for traits that depend on a transaction registry.

Note
This is an implementation detail that is tested indirectly.

Constructor & Destructor Documentation

◆ RegistryDependentTraits()

template<typename TEntity >
catapult::api::RegistryDependentTraits< TEntity >::RegistryDependentTraits ( const model::TransactionRegistry registry)
inlineexplicit

Creates traits around registry.

Member Function Documentation

◆ operator()()

template<typename TEntity >
bool catapult::api::RegistryDependentTraits< TEntity >::operator() ( const TEntity &  entity)
inline

Returns true if entity passes size checks.

Here is the call graph for this function:

Member Data Documentation

◆ m_registry

template<typename TEntity >
const model::TransactionRegistry& catapult::api::RegistryDependentTraits< TEntity >::m_registry
private

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