Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::PreOrderTreeIterator< TTreeType > Class Template Reference

#include <itkPreOrderTreeIterator.h>

Inheritance diagram for itk::PreOrderTreeIterator< TTreeType >:

Inheritance graph
[legend]
Collaboration diagram for itk::PreOrderTreeIterator< TTreeType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TTreeType::ValueType ValueType
typedef TreeIteratorBase<
TTreeType > 
Superclass
typedef Superclass::TreeNodeType TreeNodeType

Public Member Functions

 PreOrderTreeIterator (const TTreeType *tree, TreeNodeType *start=NULL)
int GetType () const
TreeIteratorBase< TTreeType > * Clone ()

Protected Member Functions

const ValueTypeNext ()
bool HasNext () const

template<class TTreeType>
class itk::PreOrderTreeIterator< TTreeType >


Member Typedef Documentation

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

Definition at line 31 of file itkPreOrderTreeIterator.h.

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 32 of file itkPreOrderTreeIterator.h.

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

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 30 of file itkPreOrderTreeIterator.h.


Constructor & Destructor Documentation

template<class TTreeType>
itk::PreOrderTreeIterator< TTreeType >::PreOrderTreeIterator const TTreeType *  tree,
TreeNodeType start = NULL
 

Constructor

Definition at line 60 of file itkPreOrderTreeIterator.h.


Member Function Documentation

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

Clone function

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 163 of file itkPreOrderTreeIterator.h.

template<class TTreeType>
int itk::PreOrderTreeIterator< TTreeType >::GetType  )  const [virtual]
 

Get the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 69 of file itkPreOrderTreeIterator.h.

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

Return true if the next node exists

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 77 of file itkPreOrderTreeIterator.h.

References NULL.

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

Return the next node

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 90 of file itkPreOrderTreeIterator.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:08:13 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000