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

#include <Functors.hh>

Public Member Functions

bool operator() (const Object &obj) const
 

Additional Inherited Members

- Public Types inherited from Diades::Utils::UnaryPredicate< Object >
using Object = Object
 

Detailed Description

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

Validity unary predicate Check whether an object is valid by calling its isValid() method.

Definition at line 39 of file Functors.hh.

Member Function Documentation

◆ operator()()

template<typename Object >
bool Diades::Utils::Validity< Object >::operator() ( const Object obj) const
inline
Parameters
objan object to check its validity
Returns
the result of obj.isValid()

Definition at line 47 of file Functors.hh.


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