Lumiera  0.pre.03
»edit your freedom«
TransformIter< IT, VAL > Class Template Reference

#include "lib/itertools.hpp"

Description

template<class IT, class VAL>
class lib::TransformIter< IT, VAL >

Iterator tool treating pulled data by a custom transformation (function)

Template Parameters
ITsource iterator
VALresult (output) type

Definition at line 754 of file itertools.hpp.

Public Member Functions

template<typename FUN >
 TransformIter (IT &&src, FUN trafoFunc)
 
template<typename FUN >
 TransformIter (IT const &src, FUN trafoFunc)
 
- Public Member Functions inherited from IterTool< TransformingCore< IT, VAL > >
 IterTool (TransformingCore< IT, VAL > &&setup)
 
bool empty () const
 
bool isValid () const
 
 operator bool () const
 
reference operator* () const
 
IterTooloperator++ ()
 
pointer operator-> () const
 

Private Types

using _IteratorImpl = IterTool< _Trafo >
 
using _Trafo = TransformingCore< IT, VAL >
 

Additional Inherited Members

- Public Types inherited from IterTool< TransformingCore< IT, VAL > >
typedef TransformingCore< IT, VAL > ::pointer pointer
 
typedef TransformingCore< IT, VAL > ::reference reference
 
typedef TransformingCore< IT, VAL > ::value_type value_type
 
- Protected Member Functions inherited from IterTool< TransformingCore< IT, VAL > >
void _maybe_throw () const
 
bool hasData () const
 
bool iterate ()
 
- Protected Attributes inherited from IterTool< TransformingCore< IT, VAL > >
TransformingCore< IT, VAL > core_
 
+ Inheritance diagram for TransformIter< IT, VAL >:
+ Collaboration diagram for TransformIter< IT, VAL >:

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