Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
Public Member Functions | List of all members
irr::core::map< KeyType, ValueType >::ParentLastIterator Class Reference

Parent Last Iterator. More...

#include <irrMap.h>

Public Member Functions

bool atEnd () const
NodegetNode ()
Nodeoperator* ()
void operator++ (int)
Nodeoperator-> ()
ParentLastIteratoroperator= (const ParentLastIterator &src)
 ParentLastIterator ()
 ParentLastIterator (Node *root)
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 393 of file irrMap.h.

Constructor & Destructor Documentation

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

Definition at line 397 of file irrMap.h.

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

Member Function Documentation

template<class KeyType, class ValueType>
bool irr::core::map< KeyType, ValueType >::ParentLastIterator::atEnd ( ) const
inline
template<class KeyType, class ValueType>
Node* irr::core::map< KeyType, ValueType >::ParentLastIterator::getNode ( )
inline
template<class KeyType, class ValueType>
Node& irr::core::map< KeyType, ValueType >::ParentLastIterator::operator* ( )
inline
template<class KeyType, class ValueType>
void irr::core::map< KeyType, ValueType >::ParentLastIterator::operator++ ( int  )
inline

Definition at line 427 of file irrMap.h.

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

Definition at line 420 of file irrMap.h.

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:

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Fri Mar 21 2014 04:40:21 by Doxygen (1.8.1.2)