Lumiera  0.pre.03
»edityourfreedom«
lib::iter Namespace Reference

Namespaces

 test
 

Classes

class  CursorGear
 
class  IterChainSearch
 Iterator based linear search mechanism, with the ability to perform consecutive search with backtracking. More...
 
struct  IterDequeStorage
 Wrapper to mark a std::deque instance for use as "state core" within lib::IterStateWrapper. More...
 

Functions

template<class SRC >
auto chainSearch (SRC &&srcData)
 setup a chain search configuration by suitably wrapping the given container. More...
 

Function Documentation

◆ chainSearch()

auto lib::iter::chainSearch ( SRC &&  srcData)
inline

setup a chain search configuration by suitably wrapping the given container.

Returns
an IterChainSearch instantiation, which is an Iterator to yield all the source elements, but can be outfitted with a sequence of filter conditions, to be applied to the underlying source one by one.
Parameters
srcDataeither a »Lumiera Forward Iterator«, a reference to a STL container, or a »State Core« object.
Warning
if you capture the result of this call by an auto variable, be sure to understand that invoking any further builder operation on TreeExplorer will invalidate that variable (by moving it into the augmented iterator returned from such builder call).

Definition at line 312 of file iter-chain-search.hpp.

Referenced by IterChainSearch_test::backtracking(), IterChainSearch_test::chainedIteration(), and IterChainSearch_test::simpleSearch().

+ Here is the caller graph for this function: