tree< T, tree_node_allocator >::post_order_iterator Class Reference

Depth-first iterator, first accessing the children, then the node itself. More...

#include <tree.hh>

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

List of all members.

Public Member Functions

void descend_all ()
 Set iterator to the first child as deep as possible down the tree.
void descend_all ()
 Set iterator to the first child as deep as possible down the tree.
bool operator!= (const post_order_iterator &) const
bool operator!= (const post_order_iterator &) const
post_order_iterator operator++ (int)
post_order_iteratoroperator++ ()
post_order_iterator operator++ (int)
post_order_iteratoroperator++ ()
post_order_iteratoroperator+= (unsigned int)
post_order_iteratoroperator+= (unsigned int)
post_order_iterator operator-- (int)
post_order_iteratoroperator-- ()
post_order_iterator operator-- (int)
post_order_iteratoroperator-- ()
post_order_iteratoroperator-= (unsigned int)
post_order_iteratoroperator-= (unsigned int)
bool operator== (const post_order_iterator &) const
bool operator== (const post_order_iterator &) const
 post_order_iterator (tree_node *)
 post_order_iterator ()
 post_order_iterator (const sibling_iterator &)
 post_order_iterator (const iterator_base &)
 post_order_iterator (tree_node *)
 post_order_iterator ()

Detailed Description

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

Depth-first iterator, first accessing the children, then the node itself.

Definition at line 146 of file tree.hh.


Constructor & Destructor Documentation

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

Definition at line 2274 of file tree.hh.

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

Definition at line 2280 of file tree.hh.

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

Definition at line 2286 of file tree.hh.

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

Definition at line 2292 of file tree.hh.

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
tree< T, tree_node_allocator >::post_order_iterator::post_order_iterator (  ) 
template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
tree< T, tree_node_allocator >::post_order_iterator::post_order_iterator ( tree_node  ) 

Member Function Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
void tree< T, tree_node_allocator >::post_order_iterator::descend_all (  ) 

Set iterator to the first child as deep as possible down the tree.

template<class T , class tree_node_allocator >
void tree< T, tree_node_allocator >::post_order_iterator::descend_all (  )  [inline]

Set iterator to the first child as deep as possible down the tree.

Definition at line 2380 of file tree.hh.

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

Definition at line 2061 of file tree.hh.

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
post_order_iterator tree< T, tree_node_allocator >::post_order_iterator::operator++ ( int   ) 
template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
post_order_iterator& tree< T, tree_node_allocator >::post_order_iterator::operator++ (  ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::post_order_iterator tree< T, tree_node_allocator >::post_order_iterator::operator++ ( int   )  [inline]

Definition at line 2343 of file tree.hh.

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

Definition at line 2306 of file tree.hh.

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

Definition at line 2360 of file tree.hh.

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
post_order_iterator tree< T, tree_node_allocator >::post_order_iterator::operator-- ( int   ) 
template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
post_order_iterator& tree< T, tree_node_allocator >::post_order_iterator::operator-- (  ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::post_order_iterator tree< T, tree_node_allocator >::post_order_iterator::operator-- ( int   )  [inline]

Definition at line 2351 of file tree.hh.

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

Definition at line 2327 of file tree.hh.

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

Definition at line 2370 of file tree.hh.

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
bool tree< T, tree_node_allocator >::post_order_iterator::operator== ( const post_order_iterator  )  const
template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::post_order_iterator::operator== ( const post_order_iterator other  )  const [inline]

Definition at line 2068 of file tree.hh.


The documentation for this class was generated from the following files:
 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