#include <Avl.hpp>
Public Types | |
| typedef Node< T, KeyType, DeleterT > | NodeT |
Public Member Functions | |
| const KeyType * | getKey () const |
| Return the node key. | |
| Iterator | getLeftIterator () const |
| Get left iterator. | |
| Iterator | getParentIterator () const |
| Get parent iterator. | |
| Iterator | getRightIterator () const |
| Get right iterator. | |
| bool | isTerminal () const |
| Check if this iterator node is a final node. | |
| bool | isValid () const |
| Check validity for this iterator. | |
| Iterator (const Iterator &iter) | |
| Copy constructor. | |
| Iterator (NodeT *_node=NULL) | |
| Constructor. | |
| void | Mutate (const T &newData) |
| Change the pointed object. | |
| const T & | operator * () const |
| Access the pointed object. | |
| T & | operator * () |
| Access the pointed object. | |
| bool | operator!= (const Iterator &rhs) const |
| Inverted compare. | |
| Iterator | operator++ (int) const |
| Move to the next node before the actual advance. | |
| Iterator & | operator++ () const |
| Move to the next node. | |
| Iterator & | operator= (const Iterator &iter) const |
| Copy the iterator. | |
| bool | operator== (const Iterator &rhs) const |
| Basic iterator compare. | |
Public Attributes | |
| NodeT * | node |
| The current node pointer. | |
| typedef Node<T, KeyType, DeleterT> Tree::AVL::Iterator< T, KeyType, DeleterT >::NodeT |
| Tree::AVL::Iterator< T, KeyType, DeleterT >::Iterator | ( | NodeT * | _node = NULL |
) | [inline] |
Constructor.
| Tree::AVL::Iterator< T, KeyType, DeleterT >::Iterator | ( | const Iterator< T, KeyType, DeleterT > & | iter | ) | [inline] |
Copy constructor.
| const KeyType* Tree::AVL::Iterator< T, KeyType, DeleterT >::getKey | ( | ) | const [inline] |
Return the node key.
| Iterator Tree::AVL::Iterator< T, KeyType, DeleterT >::getLeftIterator | ( | ) | const [inline] |
| Iterator Tree::AVL::Iterator< T, KeyType, DeleterT >::getParentIterator | ( | ) | const [inline] |
| Iterator Tree::AVL::Iterator< T, KeyType, DeleterT >::getRightIterator | ( | ) | const [inline] |
| bool Tree::AVL::Iterator< T, KeyType, DeleterT >::isTerminal | ( | ) | const [inline] |
Check if this iterator node is a final node.
| bool Tree::AVL::Iterator< T, KeyType, DeleterT >::isValid | ( | ) | const [inline] |
Check validity for this iterator.
| void Tree::AVL::Iterator< T, KeyType, DeleterT >::Mutate | ( | const T & | newData | ) | [inline] |
Change the pointed object.
| const T& Tree::AVL::Iterator< T, KeyType, DeleterT >::operator * | ( | ) | const [inline] |
Access the pointed object.
| T& Tree::AVL::Iterator< T, KeyType, DeleterT >::operator * | ( | ) | [inline] |
Access the pointed object.
| bool Tree::AVL::Iterator< T, KeyType, DeleterT >::operator!= | ( | const Iterator< T, KeyType, DeleterT > & | rhs | ) | const [inline] |
Inverted compare.
| Iterator Tree::AVL::Iterator< T, KeyType, DeleterT >::operator++ | ( | int | ) | const [inline] |
Move to the next node before the actual advance.
| Iterator& Tree::AVL::Iterator< T, KeyType, DeleterT >::operator++ | ( | ) | const [inline] |
Move to the next node.
| Iterator& Tree::AVL::Iterator< T, KeyType, DeleterT >::operator= | ( | const Iterator< T, KeyType, DeleterT > & | iter | ) | const [inline] |
Copy the iterator.
| bool Tree::AVL::Iterator< T, KeyType, DeleterT >::operator== | ( | const Iterator< T, KeyType, DeleterT > & | rhs | ) | const [inline] |
Basic iterator compare.
NodeT* Tree::AVL::Iterator< T, KeyType, DeleterT >::node [mutable] |
The current node pointer.
