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

#include "lib/iter-adapter.hpp"

Description

template<class IT>
class lib::IterStateCore< IT >

Adapter to dress up an existing »Lumiera Forward Iterator« as »state core«.

This building block achieves the complement of IterStateWrapper by providing the API functions expected by the latter's state protocol; a combination of IterStateCore and IterStateWrapper layered on top behaves identical to the original iterator. This can be used to change some aspects of the behaviour.

Remarks
directly layered by inheritance, thus public functions of the wrapped iterator remain visible (contrary to IterStateWrapper)

Definition at line 470 of file iter-adapter.hpp.

Public Member Functions

bool checkPoint () const
 
void iterNext ()
 
IT::reference yield () const
 

Protected Member Functions

IT & srcIter () const
 
+ Inheritance diagram for IterStateCore< IT >:
+ Collaboration diagram for IterStateCore< IT >:

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