#include "lib/iter-explorer.hpp"
template<class SRC>
struct lib::iter_explorer::BaseAdapter< SRC >
Base of pipe processing decorator chain. IterExplorer allows to create a stack out of various decorating processors
- each decorator is itself a _"state core"_, adding some on-demand processing
- each wraps and adapts a source iterator, attaching to and passing-on the iteration logic Typically each such layer is configured with actual functionality provided as lambda or functor. Yet in addition to forming an iteration pipeline, there is kind of an internal interconnection protocol, allowing the layers to collaborate; notably this allows to handle an expandChildren() call, where some "expansion layer" consumes the current element and replaces it by an expanded series of new elements. Other layers might need to sync to this operation, and thus it is passed down the chain. For that reason, we need a dedicated BaseAdapter to adsorb such chained calls.
Definition at line 521 of file iter-explorer.hpp.
|
| BaseAdapter (SRC const &src) |
|
| BaseAdapter (SRC &&src) |
|
size_t | depth () const |
|
void | expandChildren () |
|
The documentation for this struct was generated from the following file: