Irrlicht 3D Engine
irr::core::map< KeyType, ValueType >::ParentFirstIterator Class Reference

Parent First Iterator. More...

#include <irrMap.h>

Public Member Functions

 ParentFirstIterator ()
 
 ParentFirstIterator (Node *root)
 
bool atEnd () const
 
NodegetNode ()
 
Nodeoperator * ()
 
Nodeoperator -> ()
 
void operator++ (int)
 
ParentFirstIteratoroperator= (const ParentFirstIterator &src)
 
void reset ()
 

Detailed Description

template<class KeyType, class ValueType>
class irr::core::map< KeyType, ValueType >::ParentFirstIterator

Parent First Iterator.

Traverses the tree from top to bottom. Typical usage is when storing the tree structure, because when reading it later (and inserting elements) the tree structure will be the same.

Definition at line 430 of file irrMap.h.

Constructor & Destructor Documentation

◆ ParentFirstIterator() [1/2]

template<class KeyType, class ValueType>
irr::core::map< KeyType, ValueType >::ParentFirstIterator::ParentFirstIterator ( )
inline

Definition at line 434 of file irrMap.h.

◆ ParentFirstIterator() [2/2]

template<class KeyType, class ValueType>
irr::core::map< KeyType, ValueType >::ParentFirstIterator::ParentFirstIterator ( Node root)
inlineexplicit

Member Function Documentation

◆ atEnd()

template<class KeyType, class ValueType>
bool irr::core::map< KeyType, ValueType >::ParentFirstIterator::atEnd ( ) const
inline

◆ getNode()

template<class KeyType, class ValueType>
Node* irr::core::map< KeyType, ValueType >::ParentFirstIterator::getNode ( )
inline

◆ operator *()

template<class KeyType, class ValueType>
Node& irr::core::map< KeyType, ValueType >::ParentFirstIterator::operator * ( )
inline

◆ operator ->()

template<class KeyType, class ValueType>
Node* irr::core::map< KeyType, ValueType >::ParentFirstIterator::operator -> ( )
inline

◆ operator++()

template<class KeyType, class ValueType>
void irr::core::map< KeyType, ValueType >::ParentFirstIterator::operator++ ( int  )
inline

Definition at line 463 of file irrMap.h.

◆ operator=()

template<class KeyType, class ValueType>
ParentFirstIterator& irr::core::map< KeyType, ValueType >::ParentFirstIterator::operator= ( const ParentFirstIterator src)
inline

Definition at line 456 of file irrMap.h.

◆ reset()

template<class KeyType, class ValueType>
void irr::core::map< KeyType, ValueType >::ParentFirstIterator::reset ( )
inline

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