tree< T, tree_node_allocator >::pre_order_iterator Class Reference

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

#include <tree.hh>

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

List of all members.

Public Member Functions

bool operator!= (const pre_order_iterator &) const
bool operator!= (const pre_order_iterator &) const
pre_order_iterator operator++ (int)
pre_order_iteratoroperator++ ()
pre_order_iterator operator++ (int)
pre_order_iteratoroperator++ ()
pre_order_iteratoroperator+= (unsigned int)
pre_order_iteratoroperator+= (unsigned int)
pre_order_iterator operator-- (int)
pre_order_iteratoroperator-- ()
pre_order_iterator operator-- (int)
pre_order_iteratoroperator-- ()
pre_order_iteratoroperator-= (unsigned int)
pre_order_iteratoroperator-= (unsigned int)
bool operator== (const pre_order_iterator &) const
bool operator== (const pre_order_iterator &) const
 pre_order_iterator (tree_node *)
 pre_order_iterator ()
 pre_order_iterator (const sibling_iterator &)
 pre_order_iterator (const iterator_base &)
 pre_order_iterator (tree_node *)
 pre_order_iterator ()

Detailed Description

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

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

Definition at line 128 of file tree.hh.


Constructor & Destructor Documentation

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

Definition at line 2166 of file tree.hh.

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

Definition at line 2172 of file tree.hh.

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

Definition at line 2178 of file tree.hh.

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

Definition at line 2184 of file tree.hh.

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

Member Function Documentation

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

Definition at line 2075 of file tree.hh.

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

Definition at line 2234 of file tree.hh.

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

Definition at line 2198 of file tree.hh.

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

Definition at line 2250 of file tree.hh.

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

Definition at line 2242 of file tree.hh.

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

Definition at line 2217 of file tree.hh.

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

Definition at line 2260 of file tree.hh.

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

Definition at line 2082 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