DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Functors.hh>
Public Member Functions | |
IsIn (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 |
IsIn unary functor Checks whether a given value is within a range (call std::find)
Definition at line 105 of file Functors.hh.
|
inline |
first | first iterator of the range to search in |
last | last iterator of the range to search in |
Definition at line 115 of file Functors.hh.
|
inline |
obj | the value to look for |
Definition at line 124 of file Functors.hh.
InputIterator Diades::Utils::IsIn< InputIterator >::_first |
Definition at line 107 of file Functors.hh.
InputIterator Diades::Utils::IsIn< InputIterator >::_last |
Definition at line 108 of file Functors.hh.