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

Parent Last Iterator. More...

#include <irrMap.h>

Public Member Functions

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

Detailed Description

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

Parent Last Iterator.

Traverse the tree from bottom to top. Typical usage is when deleting all elements in the tree because you must delete the children before you delete their parent.

Definition at line 529 of file irrMap.h.

Constructor & Destructor Documentation

◆ ParentLastIterator() [1/2]

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

Definition at line 533 of file irrMap.h.

◆ ParentLastIterator() [2/2]

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

Member Function Documentation

◆ atEnd()

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

◆ getNode()

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

◆ operator *()

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

◆ operator ->()

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

◆ operator++()

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

Definition at line 562 of file irrMap.h.

◆ operator=()

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

Definition at line 555 of file irrMap.h.

◆ reset()

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

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