#include <tree.hh>
Public Member Functions | |
bool | operator!= (const sibling_iterator &) const |
sibling_iterator | operator++ (int) |
sibling_iterator & | operator++ () |
sibling_iterator & | operator+= (unsigned int) |
sibling_iterator | operator-- (int) |
sibling_iterator & | operator-- () |
sibling_iterator & | operator-= (unsigned int) |
bool | operator== (const sibling_iterator &) const |
tree_node * | range_first () const |
tree_node * | range_last () const |
sibling_iterator (const iterator_base &) | |
sibling_iterator (const sibling_iterator &) | |
sibling_iterator (tree_node *) | |
sibling_iterator () | |
Public Attributes | |
tree_node * | parent_ |
Private Member Functions | |
void | set_parent_ () |
tree< T, tree_node_allocator >::tree::sibling_iterator::sibling_iterator | ( | ) | [inline] |
tree< T, tree_node_allocator >::tree::sibling_iterator::sibling_iterator | ( | const sibling_iterator & | other | ) | [inline] |
tree< T, tree_node_allocator >::tree::sibling_iterator::sibling_iterator | ( | const iterator_base & | other | ) | [inline] |
bool tree< T, tree_node_allocator >::tree::sibling_iterator::operator!= | ( | const sibling_iterator & | other | ) | const [inline] |
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::tree::sibling_iterator::operator++ | ( | int | ) | [inline] |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::tree::sibling_iterator::operator++ | ( | ) | [inline] |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::tree::sibling_iterator::operator+= | ( | unsigned int | num | ) | [inline] |
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::tree::sibling_iterator::operator-- | ( | int | ) | [inline] |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::tree::sibling_iterator::operator-- | ( | ) | [inline] |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::tree::sibling_iterator::operator-= | ( | unsigned int | num | ) | [inline] |
bool tree< T, tree_node_allocator >::tree::sibling_iterator::operator== | ( | const sibling_iterator & | other | ) | const [inline] |
tree< T, tree_node_allocator >::tree_node * tree< T, tree_node_allocator >::tree::sibling_iterator::range_last | ( | ) | const [inline] |
References tree_node_< T >::last_child, and tree< T, tree_node_allocator >::tree::sibling_iterator::parent_.
Referenced by tree< T, tree_node_allocator >::insert(), tree< T, tree_node_allocator >::tree::leaf_iterator::leaf_iterator(), tree< T, tree_node_allocator >::tree::post_order_iterator::post_order_iterator(), and tree< T, tree_node_allocator >::tree::pre_order_iterator::pre_order_iterator().
void tree< T, tree_node_allocator >::tree::sibling_iterator::set_parent_ | ( | ) | [inline, private] |
tree_node* tree< T, tree_node_allocator >::tree::sibling_iterator::parent_ |
Referenced by tree< T, tree_node_allocator >::tree::iterator_base::begin(), tree< T, tree_node_allocator >::tree::iterator_base::end(), tree< T, tree_node_allocator >::end(), tree< T, tree_node_allocator >::insert(), tree< T, tree_node_allocator >::tree::leaf_iterator::leaf_iterator(), tree< T, tree_node_allocator >::move_before(), tree< T, tree_node_allocator >::tree::sibling_iterator::operator--(), tree< T, tree_node_allocator >::tree::post_order_iterator::post_order_iterator(), tree< T, tree_node_allocator >::tree::pre_order_iterator::pre_order_iterator(), tree< T, tree_node_allocator >::tree::sibling_iterator::range_first(), tree< T, tree_node_allocator >::tree::sibling_iterator::range_last(), and tree< T, tree_node_allocator >::tree::sibling_iterator::set_parent_().