#include <tpl_splay_tree.H>
Inheritance diagram for GenTdSplayTree< NodeType, Key, Compare >::Iterator:
Collaboration diagram for GenTdSplayTree< NodeType, Key, Compare >::Iterator:Public Member Functions | |
| Iterator (GenTdSplayTree &t) | |
| void | swap (BinNodeInfixIterator &it) |
| void | reset_first () noexcept |
| Reset the iterator to the first node inorder sense. | |
| void | reset_last () noexcept |
| Reset the iterator to the first node inorder sense. | |
| void | end () noexcept |
| bool | has_curr () const noexcept |
Return true the iterator has current node. | |
| bool | is_last () const noexcept |
| Node * | get_curr_ne () const noexcept |
| Return the current link guaranteeing no exception. Be careful. | |
| Node * | get_curr () const |
Return the current node. Throw overflow_error if there is no current. | |
| size_t | get_pos () const |
| Return the current position of iterator. Only valid if has_curr() == true. | |
| void | next_ne () noexcept |
| void | next () |
Iterador sobre los nodos.
Esta clase permite recorrer los nodos del árbol en forma ordenada según el criterio de comparación especificado en el momento de instanciación del árbol.
|
inlineinherited |
Move the iterator one position forward. Throw overflow_error if there is no current