|
liborigin
2.0.0
|
Iterator which traverses only the nodes at a given depth from the root. More...
#include <tree.hh>
Public Attributes | |
| tree_node * | first_parent_ |
Public Attributes inherited from tree< T, tree_node_allocator >::iterator_base | |
| tree_node * | node |
Private Member Functions | |
| void | find_leftmost_parent_ () |
| void | set_first_parent_ () |
Additional Inherited Members | |
Public Types inherited from tree< T, tree_node_allocator >::iterator_base | |
| typedef ptrdiff_t | difference_type |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef T * | pointer |
| typedef T & | reference |
| typedef size_t | size_type |
| typedef T | value_type |
Protected Attributes inherited from tree< T, tree_node_allocator >::iterator_base | |
| bool | skip_current_children_ |
Iterator which traverses only the nodes at a given depth from the root.
| tree< T, tree_node_allocator >::fixed_depth_iterator::fixed_depth_iterator | ( | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator::fixed_depth_iterator | ( | const iterator_base & | other | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator::fixed_depth_iterator | ( | const sibling_iterator & | other | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator::fixed_depth_iterator | ( | const fixed_depth_iterator & | other | ) |
|
private |
References tree_node_< T >::first_child, and tree_node_< T >::prev_sibling.
Referenced by tree< T, tree_node_allocator >::fixed_depth_iterator::fixed_depth_iterator().
| bool tree< T, tree_node_allocator >::fixed_depth_iterator::operator!= | ( | const fixed_depth_iterator & | other | ) | const |
| tree< T, tree_node_allocator >::fixed_depth_iterator & tree< T, tree_node_allocator >::fixed_depth_iterator::operator++ | ( | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator tree< T, tree_node_allocator >::fixed_depth_iterator::operator++ | ( | int | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator & tree< T, tree_node_allocator >::fixed_depth_iterator::operator+= | ( | unsigned int | num | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator & tree< T, tree_node_allocator >::fixed_depth_iterator::operator-- | ( | ) |
References tree_node_< T >::last_child, and tree_node_< T >::prev_sibling.
| tree< T, tree_node_allocator >::fixed_depth_iterator tree< T, tree_node_allocator >::fixed_depth_iterator::operator-- | ( | int | ) |
| tree< T, tree_node_allocator >::fixed_depth_iterator & tree< T, tree_node_allocator >::fixed_depth_iterator::operator-= | ( | unsigned int | num | ) |
| bool tree< T, tree_node_allocator >::fixed_depth_iterator::operator== | ( | const fixed_depth_iterator & | other | ) | const |
|
private |
1.8.8