tree< T, tree_node_allocator >::fixed_depth_iterator Class Reference

Iterator which traverses only the nodes at a given depth from the root. More...

#include <tree.hh>

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

List of all members.

Public Member Functions

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

Public Attributes

tree_nodetop_node

Detailed Description

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

Iterator which traverses only the nodes at a given depth from the root.

Definition at line 188 of file tree.hh.


Constructor & Destructor Documentation

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

Definition at line 2466 of file tree.hh.

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

Definition at line 2472 of file tree.hh.

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

Definition at line 2478 of file tree.hh.

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

Definition at line 2484 of file tree.hh.

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

Definition at line 2490 of file tree.hh.


Member Function Documentation

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

Definition at line 2503 of file tree.hh.

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

Definition at line 2612 of file tree.hh.

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

Definition at line 2510 of file tree.hh.

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

Definition at line 2638 of file tree.hh.

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

Definition at line 2620 of file tree.hh.

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

Definition at line 2550 of file tree.hh.

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

Definition at line 2628 of file tree.hh.

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

Definition at line 2496 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 >::fixed_depth_iterator::top_node

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