Iterator which traverses only the nodes which are siblings of each other. More...
#include <tree.h>
Public Attributes | |
tree_node * | parent_ |
![]() | |
tree_node * | node |
Private Member Functions | |
void | set_parent_ () |
Additional Inherited Members | |
![]() | |
typedef ptrdiff_t | difference_type |
typedef ptrdiff_t | difference_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef T * | pointer |
typedef T * | pointer |
typedef T & | reference |
typedef T & | reference |
typedef size_t | size_type |
typedef size_t | size_type |
typedef T | value_type |
typedef T | value_type |
![]() | |
bool | skip_current_children_ |
Iterator which traverses only the nodes which are siblings of each other.
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator | ( | ) |
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator | ( | tree_node * | ) |
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator | ( | const sibling_iterator & | ) |
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator | ( | const iterator_base & | ) |
bool tree< T, tree_node_allocator >::sibling_iterator::operator!= | ( | const sibling_iterator & | other | ) | const |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator++ | ( | ) |
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::sibling_iterator::operator++ | ( | int | ) |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator+= | ( | unsigned int | num | ) |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator-- | ( | ) |
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::sibling_iterator::operator-- | ( | int | ) |
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator-= | ( | unsigned int | num | ) |
bool tree< T, tree_node_allocator >::sibling_iterator::operator== | ( | const sibling_iterator & | other | ) | const |
|
private |