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

#include <Functors.hh>

Public Member Functions

 IsNotIn (InputIterator first, InputIterator last)
 
bool operator() (const typename InputIterator::value_type &obj) const
 

Public Attributes

InputIterator _first
 
InputIterator _last
 

Additional Inherited Members

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

Detailed Description

template<typename InputIterator>
struct Diades::Utils::IsNotIn< InputIterator >

IsNotIn unary functor Checks whether a given value is not within a range (call IsIn functor)

Definition at line 190 of file Functors.hh.

Constructor & Destructor Documentation

◆ IsNotIn()

template<typename InputIterator>
Diades::Utils::IsNotIn< InputIterator >::IsNotIn ( InputIterator  first,
InputIterator  last 
)
inline
Parameters
firstfirst iterator of the range to search in
lastlast iterator of the range to search in

Definition at line 200 of file Functors.hh.

Member Function Documentation

◆ operator()()

template<typename InputIterator>
bool Diades::Utils::IsNotIn< InputIterator >::operator() ( const typename InputIterator::value_type &  obj) const
inline
Parameters
objthe value to look for
Returns
true if the value is NOT within the range [first,last[

Definition at line 209 of file Functors.hh.

Member Data Documentation

◆ _first

template<typename InputIterator>
InputIterator Diades::Utils::IsNotIn< InputIterator >::_first

Definition at line 192 of file Functors.hh.

◆ _last

template<typename InputIterator>
InputIterator Diades::Utils::IsNotIn< InputIterator >::_last

Definition at line 193 of file Functors.hh.


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