|
CatapultServer
v0.5.0.1 (Elephant)
|
A demultiplexing validator builder. More...

Classes | |
| class | ConditionalValidator |
Public Member Functions | |
| template<typename TNotification > | |
| DemuxValidatorBuilderT & | add (NotificationValidatorPointerT< TNotification > &&pValidator) |
| Adds a validator (pValidator) to the builder that is invoked only when matching notifications are processed. More... | |
| DemuxValidatorBuilderT & | add (NotificationValidatorPointerT< model::Notification > &&pValidator) |
| Adds a validator (pValidator) to the builder that is always invoked. More... | |
| AggregateValidatorPointer | build (const ValidationResultPredicate &isSuppressedFailure) |
| Builds a demultiplexing validator that ignores suppressed failures according to isSuppressedFailure. More... | |
Private Types | |
| template<typename TNotification > | |
| using | NotificationValidatorPointerT = std::unique_ptr< const NotificationValidatorT< TNotification, TArgs... > > |
| using | NotificationValidatorPredicate = predicate< const model::Notification & > |
| using | AggregateValidatorPointer = std::unique_ptr< const AggregateNotificationValidatorT< model::Notification, TArgs... > > |
Private Attributes | |
| AggregateValidatorBuilder< model::Notification, TArgs... > | m_builder |
A demultiplexing validator builder.
|
private |
|
private |
|
private |
|
inline |
Adds a validator (pValidator) to the builder that is always invoked.
|
inline |
Adds a validator (pValidator) to the builder that is invoked only when matching notifications are processed.

|
inline |
Builds a demultiplexing validator that ignores suppressed failures according to isSuppressedFailure.
|
private |