CatapultServer  v0.5.0.1 (Elephant)
catapult::validators::AggregateNotificationValidatorT< TNotification, TArgs > Class Template Referenceabstract

A strongly typed aggregate notification validator. More...

Inheritance diagram for catapult::validators::AggregateNotificationValidatorT< TNotification, TArgs >:
Collaboration diagram for catapult::validators::AggregateNotificationValidatorT< TNotification, TArgs >:

Public Member Functions

virtual std::vector< std::string > names () const =0
 Gets the names of all sub validators. More...
 
- Public Member Functions inherited from catapult::validators::NotificationValidatorT< TNotification, TArgs... >
virtual ~NotificationValidatorT ()=default
 
virtual const std::string & name () const=0
 Gets the validator name. More...
 
virtual ValidationResult validate (const TNotification &notification, TArgs &&... args) const=0
 Validates a single notification with contextual information args. More...
 

Additional Inherited Members

- Public Types inherited from catapult::validators::NotificationValidatorT< TNotification, TArgs... >
using NotificationType = TNotification
 Notification type. More...
 

Detailed Description

template<typename TNotification, typename... TArgs>
class catapult::validators::AggregateNotificationValidatorT< TNotification, TArgs >

A strongly typed aggregate notification validator.

Member Function Documentation

◆ names()

template<typename TNotification, typename... TArgs>
virtual std::vector<std::string> catapult::validators::AggregateNotificationValidatorT< TNotification, TArgs >::names ( ) const
pure virtual

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