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

#include "lib/itertools.hpp"

Description

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

Implementation of custom processing logic.

This core stores a function object instance to treat each source element pulled.

Definition at line 679 of file itertools.hpp.

Public Types

using pointer = typename ValueTypeBinding< VAL >::pointer
 
using reference = typename ValueTypeBinding< VAL >::reference
 
using value_type = typename ValueTypeBinding< VAL >::value_type
 

Public Member Functions

template<typename FUN >
 TransformingCore (IT &&orig, FUN processor)
 
template<typename FUN >
 TransformingCore (IT const &orig, FUN processor)
 
void advance ()
 
bool evaluate () const
 
Item const & pipe () const
 

Private Types

using InType = iter::Yield< IT >
 
using Item = wrapper::ItemWrapper< VAL >
 

Private Member Functions

void processItem ()
 

Private Attributes

IT source_
 
function< VAL(InType)> trafo_
 
Item treated_
 
+ Collaboration diagram for TransformingCore< IT, VAL >:

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