ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions
itk::PostOrderTreeIterator< TTreeType > Class Template Reference

#include <itkPostOrderTreeIterator.h>

+ Inheritance diagram for itk::PostOrderTreeIterator< TTreeType >:
+ Collaboration diagram for itk::PostOrderTreeIterator< TTreeType >:

List of all members.

Public Types

typedef Superclass::NodeType NodeType
typedef PostOrderTreeIterator Self
typedef TreeIteratorBase
< TTreeType > 
Superclass
typedef Superclass::TreeNodeType TreeNodeType
typedef TTreeType TreeType
typedef TTreeType::ValueType ValueType

Public Member Functions

NodeType GetType () const
 PostOrderTreeIterator (TreeType *tree)

Protected Member Functions

const ValueTypeNext ()
bool HasNext () const
TreeIteratorBase< TTreeType > * Clone ()
const TreeNodeTypeFindNextNode () const
const TreeNodeTypeFindMostRightLeaf (TreeNodeType *node) const
const TreeNodeTypeFindSister (TreeNodeType *node) const

Detailed Description

template<class TTreeType>
class itk::PostOrderTreeIterator< TTreeType >

Definition at line 26 of file itkPostOrderTreeIterator.h.


Member Typedef Documentation

template<class TTreeType>
typedef Superclass::NodeType itk::PostOrderTreeIterator< TTreeType >::NodeType

Enumerations

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 36 of file itkPostOrderTreeIterator.h.

template<class TTreeType>
typedef PostOrderTreeIterator itk::PostOrderTreeIterator< TTreeType >::Self

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 31 of file itkPostOrderTreeIterator.h.

template<class TTreeType>
typedef TreeIteratorBase< TTreeType > itk::PostOrderTreeIterator< TTreeType >::Superclass

Definition at line 32 of file itkPostOrderTreeIterator.h.

template<class TTreeType>
typedef Superclass::TreeNodeType itk::PostOrderTreeIterator< TTreeType >::TreeNodeType

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 35 of file itkPostOrderTreeIterator.h.

template<class TTreeType>
typedef TTreeType itk::PostOrderTreeIterator< TTreeType >::TreeType

Definition at line 33 of file itkPostOrderTreeIterator.h.

template<class TTreeType>
typedef TTreeType::ValueType itk::PostOrderTreeIterator< TTreeType >::ValueType

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 34 of file itkPostOrderTreeIterator.h.


Constructor & Destructor Documentation

template<class TTreeType >
itk::PostOrderTreeIterator< TTreeType >::PostOrderTreeIterator ( TreeType tree)

Member Function Documentation

template<class TTreeType >
TreeIteratorBase< TTreeType > * itk::PostOrderTreeIterator< TTreeType >::Clone ( ) [virtual]

Clone function

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 224 of file itkPostOrderTreeIterator.h.

template<class TTreeType >
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindMostRightLeaf ( TreeNodeType node) const [protected]

Find the most right leaf

Definition at line 186 of file itkPostOrderTreeIterator.h.

References NULL.

Referenced by itk::PostOrderTreeIterator< TTreeType >::PostOrderTreeIterator().

template<class TTreeType >
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindNextNode ( ) const [protected]

Find the next node

Definition at line 120 of file itkPostOrderTreeIterator.h.

References NULL.

template<class TTreeType >
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindSister ( TreeNodeType node) const [protected]

Find the sister node

Definition at line 148 of file itkPostOrderTreeIterator.h.

References NULL.

template<class TTreeType >
PostOrderTreeIterator< TTreeType >::NodeType itk::PostOrderTreeIterator< TTreeType >::GetType ( void  ) const [virtual]

Get the type of the iterator

Return the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 89 of file itkPostOrderTreeIterator.h.

template<class TTreeType >
bool itk::PostOrderTreeIterator< TTreeType >::HasNext ( ) const [protected, virtual]

Return true if the next node exists

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 97 of file itkPostOrderTreeIterator.h.

References NULL.

template<class TTreeType >
const PostOrderTreeIterator< TTreeType >::ValueType & itk::PostOrderTreeIterator< TTreeType >::Next ( ) [protected, virtual]

Return the next node

Go to the next node

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 110 of file itkPostOrderTreeIterator.h.


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