Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
FilterIter< IT > Class Template Reference

#include "lib/itertools.hpp"

Description

template<class IT>
class lib::FilterIter< IT >

Iterator tool filtering pulled data according to a predicate.

Definition at line 337 of file itertools.hpp.

Static Public Member Functions

static bool acceptAll (_Filter::Val)
 

Public Member Functions

 FilterIter ()
 
template<typename PRED >
 FilterIter (IT const &src, PRED filterPredicate)
 
template<typename PRED >
 FilterIter (IT &&src, PRED filterPredicate)
 
- Public Member Functions inherited from IterTool< FilterCore< IT > >
 IterTool (FilterCore< IT > &&setup)
 
 operator bool () const
 
reference operator* () const
 
pointer operator-> () const
 
IterTooloperator++ ()
 
bool isValid () const
 
bool empty () const
 

Private Types

typedef FilterCore< IT > _Filter
 
typedef IterTool< _Filter_Impl
 

Additional Inherited Members

- Public Types inherited from IterTool< FilterCore< IT > >
using pointer = CORE::pointer
 
using reference = CORE::reference
 
using value_type = CORE::value_type
 
- Protected Member Functions inherited from IterTool< FilterCore< IT > >
bool hasData () const
 
bool iterate ()
 
void _maybe_throw () const
 
- Protected Attributes inherited from IterTool< FilterCore< IT > >
FilterCore< IT > core_
 

Constructor & Destructor Documentation

◆ FilterIter() [1/3]

template<class IT >
FilterIter ( )
inline

Definition at line 347 of file itertools.hpp.

◆ FilterIter() [2/3]

template<class IT >
template<typename PRED >
FilterIter ( IT const &  src,
PRED  filterPredicate 
)
inline

Definition at line 352 of file itertools.hpp.

◆ FilterIter() [3/3]

template<class IT >
template<typename PRED >
FilterIter ( IT &&  src,
PRED  filterPredicate 
)
inline

Definition at line 357 of file itertools.hpp.

Member Typedef Documentation

◆ _Filter

template<class IT >
typedef FilterCore<IT> _Filter
private

Definition at line 340 of file itertools.hpp.

◆ _Impl

template<class IT >
typedef IterTool<_Filter> _Impl
private

Definition at line 341 of file itertools.hpp.

Member Function Documentation

◆ acceptAll()

template<class IT >
static bool acceptAll ( _Filter::Val  )
inlinestatic

Definition at line 344 of file itertools.hpp.

+ Inheritance diagram for FilterIter< IT >:
+ Collaboration diagram for FilterIter< IT >:

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