Public Member Functions

OA::ExprTree::ReversePostOrderIterator Class Reference

#include <CompareExprTree.hpp>

Inheritance diagram for OA::ExprTree::ReversePostOrderIterator:
Inheritance graph
[legend]
Collaboration diagram for OA::ExprTree::ReversePostOrderIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReversePostOrderIterator (Tree &t)
virtual ~ReversePostOrderIterator ()
OA_ptr< Nodecurrent () const
 ReversePostOrderIterator (Tree &t)
virtual ~ReversePostOrderIterator ()
OA_ptr< Nodecurrent () const

Detailed Description

Reverse post-order iterator, as the name suggests, enumerates the nodes in the order that is reverse of post-order.

Definition at line 435 of file CompareExprTree.hpp.


Constructor & Destructor Documentation

OA::ExprTree::ReversePostOrderIterator::ReversePostOrderIterator ( Tree t  )  [inline]

Definition at line 437 of file CompareExprTree.hpp.

virtual OA::ExprTree::ReversePostOrderIterator::~ReversePostOrderIterator (  )  [inline, virtual]

Reimplemented from OA::Tree::ReversePostOrderIterator.

Definition at line 438 of file CompareExprTree.hpp.

OA::ExprTree::ReversePostOrderIterator::ReversePostOrderIterator ( Tree t  )  [inline]

Definition at line 448 of file ExprTree.hpp.

virtual OA::ExprTree::ReversePostOrderIterator::~ReversePostOrderIterator (  )  [inline, virtual]

Reimplemented from OA::Tree::ReversePostOrderIterator.

Definition at line 449 of file ExprTree.hpp.


Member Function Documentation

OA_ptr<Node> OA::ExprTree::ReversePostOrderIterator::current (  )  const [inline]

Reimplemented from OA::Tree::ReversePostOrderIterator.

Definition at line 439 of file CompareExprTree.hpp.

References OA::OA_ptr< T >::convert(), OA::Tree::ReversePostOrderIterator::current(), and OA::n.

Here is the call graph for this function:

OA_ptr<Node> OA::ExprTree::ReversePostOrderIterator::current (  )  const [inline]

Reimplemented from OA::Tree::ReversePostOrderIterator.

Definition at line 450 of file ExprTree.hpp.

References OA::OA_ptr< T >::convert(), OA::Tree::ReversePostOrderIterator::current(), and OA::n.

Here is the call graph for this function:


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