NCBI C++ ToolKit
Public Member Functions | List of all members
tree< T, tree_node_allocator >::post_order_iterator Class Reference

Search Toolkit Book for tree::post_order_iterator

#include <algo/structure/cd_utils/tree_msvc7.hpp>

+ Inheritance diagram for tree< T, tree_node_allocator >::post_order_iterator:
+ Collaboration diagram for tree< T, tree_node_allocator >::post_order_iterator:

Public Member Functions

 post_order_iterator ()
 
 post_order_iterator (tree_node *)
 
 post_order_iterator (const iterator_base &)
 
 post_order_iterator (const sibling_iterator &)
 
post_order_iteratoroperator++ ()
 
post_order_iteratoroperator-- ()
 
post_order_iterator operator++ (int)
 
post_order_iterator operator-- (int)
 
post_order_iteratoroperator+= (unsigned int)
 
post_order_iteratoroperator-= (unsigned int)
 
void descend_all ()
 
- Public Member Functions inherited from tree< T, tree_node_allocator >::iterator_base
 iterator_base ()
 
 iterator_base (tree_node *)
 
Toperator* () const
 
Toperator-> () const
 
bool operator== (const iterator_base &) const
 
bool operator!= (const iterator_base &) const
 
void skip_children ()
 
unsigned int number_of_children () const
 
sibling_iterator begin () const
 
sibling_iterator end () const
 
bool is_valid () const
 

Additional Inherited Members

- Public Types inherited from tree< T, tree_node_allocator >::iterator_base
typedef T value_type
 
typedef Tpointer
 
typedef Treference
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef std::bidirectional_iterator_tag iterator_category
 
- Public Attributes inherited from tree< T, tree_node_allocator >::iterator_base
tree_nodenode
 
- Protected Attributes inherited from tree< T, tree_node_allocator >::iterator_base
bool skip_current_children_
 

Detailed Description

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

Definition at line 156 of file tree_msvc7.hpp.

Constructor & Destructor Documentation

◆ post_order_iterator() [1/4]

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::post_order_iterator::post_order_iterator

Definition at line 1578 of file tree_msvc7.hpp.

◆ post_order_iterator() [2/4]

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

Definition at line 1584 of file tree_msvc7.hpp.

◆ post_order_iterator() [3/4]

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

Definition at line 1590 of file tree_msvc7.hpp.

◆ post_order_iterator() [4/4]

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

Member Function Documentation

◆ descend_all()

template<class T , class tree_node_allocator >
void tree< T, tree_node_allocator >::post_order_iterator::descend_all

Definition at line 1682 of file tree_msvc7.hpp.

References assert.

◆ operator++() [1/2]

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::post_order_iterator & tree< T, tree_node_allocator >::post_order_iterator::operator++ ( void  )

Definition at line 1610 of file tree_msvc7.hpp.

References assert.

◆ operator++() [2/2]

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  )

Definition at line 1645 of file tree_msvc7.hpp.

References copy().

◆ 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+= ( unsigned int  num)

Definition at line 1662 of file tree_msvc7.hpp.

◆ operator--() [1/2]

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::post_order_iterator & tree< T, tree_node_allocator >::post_order_iterator::operator-- ( void  )

Definition at line 1629 of file tree_msvc7.hpp.

References assert.

◆ operator--() [2/2]

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  )

Definition at line 1653 of file tree_msvc7.hpp.

References copy().

◆ 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-= ( unsigned int  num)

Definition at line 1672 of file tree_msvc7.hpp.


The documentation for this class was generated from the following file:
Modified on Sat May 25 14:16:51 2024 by modify_doxy.py rev. 669887