tree< T, tree_node_allocator >::leaf_iterator Class Reference

Iterator which traverses only the leaves. More...

#include <tree.hh>

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

List of all members.

Public Member Functions

 leaf_iterator (tree_node *, tree_node *top=0)
 leaf_iterator ()
 leaf_iterator (const iterator_base &)
 leaf_iterator (const sibling_iterator &)
 leaf_iterator (tree_node *, tree_node *top=0)
 leaf_iterator ()
bool operator!= (const leaf_iterator &) const
bool operator!= (const leaf_iterator &) const
leaf_iterator operator++ (int)
leaf_iteratoroperator++ ()
leaf_iterator operator++ (int)
leaf_iteratoroperator++ ()
leaf_iteratoroperator+= (unsigned int)
leaf_iteratoroperator+= (unsigned int)
leaf_iterator operator-- (int)
leaf_iteratoroperator-- ()
leaf_iterator operator-- (int)
leaf_iteratoroperator-- ()
leaf_iteratoroperator-= (unsigned int)
leaf_iteratoroperator-= (unsigned int)
bool operator== (const leaf_iterator &) const
bool operator== (const leaf_iterator &) const

Private Attributes

tree_nodetop_node

Detailed Description

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

Iterator which traverses only the leaves.

Definition at line 233 of file tree.hh.


Constructor & Destructor Documentation

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

Definition at line 2757 of file tree.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator::leaf_iterator ( tree_node tn,
tree_node top = 0 
) [inline]

Definition at line 2763 of file tree.hh.

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

Definition at line 2775 of file tree.hh.

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

Definition at line 2769 of file tree.hh.

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

Member Function Documentation

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

Definition at line 2103 of file tree.hh.

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

Definition at line 2824 of file tree.hh.

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

Definition at line 2788 of file tree.hh.

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

Definition at line 2841 of file tree.hh.

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

Definition at line 2832 of file tree.hh.

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

Definition at line 2809 of file tree.hh.

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

Definition at line 2851 of file tree.hh.

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

Definition at line 2110 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 >::leaf_iterator::top_node [private]

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