CatapultServer  v0.5.0.1 (Elephant)
catapult::validators::AggregateEntityValidatorT< TArgs >::DispatchForwarder Class Reference

Helper for invoking curried validators. More...

Public Member Functions

 DispatchForwarder (ValidationFunctions &&validationFunctions)
 Creates a forwarder around validators. More...
 
template<typename TDispatcher >
auto dispatch (const TDispatcher &dispatcher, const model::WeakEntityInfos &entityInfos) const
 Dispatches validation of entityInfos to dispatcher. More...
 

Private Attributes

ValidationFunctions m_validationFunctions
 

Detailed Description

template<typename... TArgs>
class catapult::validators::AggregateEntityValidatorT< TArgs >::DispatchForwarder

Helper for invoking curried validators.

Constructor & Destructor Documentation

◆ DispatchForwarder()

template<typename... TArgs>
catapult::validators::AggregateEntityValidatorT< TArgs >::DispatchForwarder::DispatchForwarder ( ValidationFunctions &&  validationFunctions)
inlineexplicit

Creates a forwarder around validators.

Member Function Documentation

◆ dispatch()

template<typename... TArgs>
template<typename TDispatcher >
auto catapult::validators::AggregateEntityValidatorT< TArgs >::DispatchForwarder::dispatch ( const TDispatcher &  dispatcher,
const model::WeakEntityInfos entityInfos 
) const
inline

Dispatches validation of entityInfos to dispatcher.

Member Data Documentation

◆ m_validationFunctions

template<typename... TArgs>
ValidationFunctions catapult::validators::AggregateEntityValidatorT< TArgs >::DispatchForwarder::m_validationFunctions
private

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