DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Member Functions | List of all members
Diades::Utils::AccumulateValidity< Object > Struct Template Reference

#include <Functors.hh>

Public Member Functions

 AccumulateValidity ()
 
- Public Member Functions inherited from Diades::Utils::BinaryAnd< Is< bool >, Validity< Object > >
 BinaryAnd (const Is< bool > &p1, const Validity< Object > &p2)
 
- Public Member Functions inherited from Diades::Utils::CompositionFunctorFGxHy< std::logical_and< bool >, Is< bool >, Validity< Object > >
 CompositionFunctorFGxHy (const std::logical_and< bool > &f, const Is< bool > &g, const Validity< Object > &h)
 
std::logical_and< bool > ::result_type operator() (const typename Is< bool > ::argument_type &x, const typename Validity< Object > ::argument_type &y) const
 

Detailed Description

template<typename Object>
struct Diades::Utils::AccumulateValidity< Object >

Accumulator binary functor Accumulates the values returns by the Predicate The accumulation is done with the connector

Parameters
objan object to check its validity
Returns
the result of obj.isValid() Functor that accumulates the result of Validity (use with std:accumulate to check the validity of a range)

Definition at line 586 of file Functors.hh.

Constructor & Destructor Documentation

◆ AccumulateValidity()

template<typename Object >
Diades::Utils::AccumulateValidity< Object >::AccumulateValidity ( )
inline

Definition at line 588 of file Functors.hh.


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