Base class for iterators, only pointers stored, no traversal logic. More...
#include <tree.h>
Public Types | |
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 |
Public Member Functions | |
sibling_iterator | begin () const |
children_iterator | begin_children_iterator () const |
sibling_iterator | end () const |
children_iterator | end_children_iterator () const |
iterator_base () | |
iterator_base (tree_node *) | |
iterator_base () | |
iterator_base (tree_node *) | |
unsigned int | number_of_children () const |
Number of children of the node pointed to by the iterator. More... | |
unsigned int | number_of_children () const |
Number of children of the node pointed to by the iterator. More... | |
T & | operator* () const |
T & | operator* () const |
T * | operator-> () const |
T * | operator-> () const |
void | skip_children () |
When called, the next increment/decrement skips children of this node. More... | |
void | skip_children (bool skip) |
Public Attributes | |
tree_node * | node |
Protected Attributes | |
bool | skip_current_children_ |
Base class for iterators, only pointers stored, no traversal logic.
typedef ptrdiff_t tree< T, tree_node_allocator >::iterator_base::difference_type |
typedef ptrdiff_t tree< T, tree_node_allocator >::iterator_base::difference_type |
Definition at line 118 of file tree_new.h.
typedef std::bidirectional_iterator_tag tree< T, tree_node_allocator >::iterator_base::iterator_category |
typedef std::bidirectional_iterator_tag tree< T, tree_node_allocator >::iterator_base::iterator_category |
Definition at line 119 of file tree_new.h.
typedef T* tree< T, tree_node_allocator >::iterator_base::pointer |
typedef T* tree< T, tree_node_allocator >::iterator_base::pointer |
Definition at line 115 of file tree_new.h.
typedef T& tree< T, tree_node_allocator >::iterator_base::reference |
typedef T& tree< T, tree_node_allocator >::iterator_base::reference |
Definition at line 116 of file tree_new.h.
typedef size_t tree< T, tree_node_allocator >::iterator_base::size_type |
typedef size_t tree< T, tree_node_allocator >::iterator_base::size_type |
Definition at line 117 of file tree_new.h.
typedef T tree< T, tree_node_allocator >::iterator_base::value_type |
typedef T tree< T, tree_node_allocator >::iterator_base::value_type |
Definition at line 114 of file tree_new.h.
tree< T, tree_node_allocator >::iterator_base::iterator_base | ( | ) |
tree< T, tree_node_allocator >::iterator_base::iterator_base | ( | tree_node * | ) |
tree< T, tree_node_allocator >::iterator_base::iterator_base | ( | ) |
tree< T, tree_node_allocator >::iterator_base::iterator_base | ( | tree_node * | ) |
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::iterator_base::begin | ( | ) | const |
tree< T, tree_node_allocator >::children_iterator tree< T, tree_node_allocator >::iterator_base::begin_children_iterator | ( | ) | const |
Definition at line 1125 of file tree_new.h.
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::iterator_base::end | ( | ) | const |
tree< T, tree_node_allocator >::children_iterator tree< T, tree_node_allocator >::iterator_base::end_children_iterator | ( | ) | const |
Definition at line 1136 of file tree_new.h.
unsigned int tree< T, tree_node_allocator >::iterator_base::number_of_children | ( | ) | const |
Number of children of the node pointed to by the iterator.
unsigned int tree< T, tree_node_allocator >::iterator_base::number_of_children | ( | ) | const |
Number of children of the node pointed to by the iterator.
T& tree< T, tree_node_allocator >::iterator_base::operator* | ( | ) | const |
T& tree< T, tree_node_allocator >::iterator_base::operator* | ( | ) | const |
T* tree< T, tree_node_allocator >::iterator_base::operator-> | ( | ) | const |
T* tree< T, tree_node_allocator >::iterator_base::operator-> | ( | ) | const |
void tree< T, tree_node_allocator >::iterator_base::skip_children | ( | ) |
void tree< T, tree_node_allocator >::iterator_base::skip_children | ( | bool | skip | ) |
|
protected |