Lumiera  0.pre.03
»edit your freedom«
GenNode::ScopeExplorer Class Reference

#include "lib/diff/gen-node.hpp"

Description

Building block for monad-like depth-first expansion of a GenNode.

When used within lib::IterStateWrapper, the result is an Iterator to visit the contents of a GenNode tree recursively depth-fist.

Definition at line 595 of file gen-node.hpp.

Public Member Functions

 ScopeExplorer (GenNode const &n)
 
bool checkPoint () const
 
size_t depth () const
 
void iterNext ()
 
GenNode const & yield () const
 

Friends

bool operator== (ScopeExplorer const &s1, ScopeExplorer const &s2)
 

Private Types

using ScopeIter = IterStateWrapper< const GenNode, DataCap::Locator >
 

Private Attributes

std::deque< ScopeIterscopes_
 
+ Collaboration diagram for GenNode::ScopeExplorer:

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