Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
|
Parent First Iterator. More...
#include <nirtcpp/core/engine/irrMap.hpp>
Public Member Functions | |
ParentFirstIterator (Node *root) | |
void | reset () |
bool | atEnd () const |
Node * | getNode () |
void | operator++ (int) |
Node * | operator-> () |
Node & | operator* () |
Parent First Iterator.
Traverses the tree from top to bottom. Typical usage is when storing the tree class, because when reading it later (and inserting elements) the tree class will be the same.