Public Member Functions

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]
Collaboration diagram for tree< T, tree_node_allocator >::leaf_iterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

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.


Constructor & Destructor Documentation

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator::leaf_iterator (  ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator::leaf_iterator ( tree_node tn,
tree_node top = 0 
)
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator::leaf_iterator ( const sibling_iterator other  ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator::leaf_iterator ( const iterator_base other  ) 

Member Function Documentation

template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::leaf_iterator::operator!= ( const leaf_iterator other  )  const
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::leaf_iterator tree< T, tree_node_allocator >::leaf_iterator::operator++ ( int   ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::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+= ( unsigned int  num  ) 
template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::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   ) 
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  ) 
template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::leaf_iterator::operator== ( const leaf_iterator other  )  const

The documentation for this class was generated from the following file: