NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::DepthFirstNodeIterator Class Reference

Depth-First iterator for node trees. We first iterate over all children and then process nodes at the same level. More...

#include <DepthFirstNodeIterator.hpp>

Classes

class  iterator
 

Public Member Functions

 DepthFirstNodeIterator (NodePtr start)
 
 DepthFirstNodeIterator ()=default
 
iterator begin ()
 Starts a new iterator at the start node. More...
 

Static Public Member Functions

static iterator end ()
 The end of this iterator has an empty work stack. More...
 

Detailed Description

Depth-First iterator for node trees. We first iterate over all children and then process nodes at the same level.

Constructor & Destructor Documentation

◆ DepthFirstNodeIterator() [1/2]

NES::DepthFirstNodeIterator::DepthFirstNodeIterator ( NodePtr  start)
explicit

◆ DepthFirstNodeIterator() [2/2]

NES::DepthFirstNodeIterator::DepthFirstNodeIterator ( )
default

Member Function Documentation

◆ begin()

DepthFirstNodeIterator::iterator NES::DepthFirstNodeIterator::begin ( )

Starts a new iterator at the start node.

Returns
iterator.

◆ end()

DepthFirstNodeIterator::iterator NES::DepthFirstNodeIterator::end ( )
static

The end of this iterator has an empty work stack.

Returns
iterator.

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