tree< T, tree_node_allocator >::sibling_iterator Class Reference

Iterator which traverses only the nodes which are siblings of each other. More...

#include <tree.hh>

Inheritance diagram for tree< T, tree_node_allocator >::sibling_iterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool operator!= (const sibling_iterator &) const
sibling_iterator operator++ (int)
sibling_iteratoroperator++ ()
sibling_iteratoroperator+= (unsigned int)
sibling_iterator operator-- (int)
sibling_iteratoroperator-- ()
sibling_iteratoroperator-= (unsigned int)
bool operator== (const sibling_iterator &) const
tree_noderange_first () const
tree_noderange_last () const
 sibling_iterator (const iterator_base &)
 sibling_iterator (const sibling_iterator &)
 sibling_iterator (tree_node *)
 sibling_iterator ()

Public Attributes

tree_nodeparent_

Private Member Functions

void set_parent_ ()

Detailed Description

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
class tree< T, tree_node_allocator >::sibling_iterator

Iterator which traverses only the nodes which are siblings of each other.

Definition at line 209 of file tree.hh.


Constructor & Destructor Documentation

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator (  )  [inline]

Definition at line 2651 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator ( tree_node tn  )  [inline]

Definition at line 2658 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator ( const sibling_iterator other  )  [inline]

Definition at line 2672 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator::sibling_iterator ( const iterator_base other  )  [inline]

Definition at line 2665 of file tree.hh.


Member Function Documentation

template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::sibling_iterator::operator!= ( const sibling_iterator other  )  const [inline]

Definition at line 2089 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::sibling_iterator::operator++ ( int   )  [inline]

Definition at line 2706 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator++ (  )  [inline]

Definition at line 2687 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator+= ( unsigned int  num  )  [inline]

Definition at line 2722 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator tree< T, tree_node_allocator >::sibling_iterator::operator-- ( int   )  [inline]

Definition at line 2714 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator-- (  )  [inline]

Definition at line 2695 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::sibling_iterator & tree< T, tree_node_allocator >::sibling_iterator::operator-= ( unsigned int  num  )  [inline]

Definition at line 2732 of file tree.hh.

template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::sibling_iterator::operator== ( const sibling_iterator other  )  const [inline]

Definition at line 2096 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::tree_node * tree< T, tree_node_allocator >::sibling_iterator::range_first (  )  const [inline]

Definition at line 2742 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::tree_node * tree< T, tree_node_allocator >::sibling_iterator::range_last (  )  const [inline]

Definition at line 2749 of file tree.hh.

template<class T , class tree_node_allocator >
void tree< T, tree_node_allocator >::sibling_iterator::set_parent_ (  )  [inline, private]

Definition at line 2678 of file tree.hh.


Member Data Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
tree_node* tree< T, tree_node_allocator >::sibling_iterator::parent_

Definition at line 227 of file tree.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014