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

#include <itkPreOrderTreeIterator.h>

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

List of all members.

Public Types

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

Public Member Functions

NodeType GetType () const
 PreOrderTreeIterator (const TTreeType *tree, const TreeNodeType *start=NULL)

Protected Member Functions

const ValueTypeNext ()
bool HasNext () const
TreeIteratorBase< TTreeType > * Clone ()
const TreeNodeTypeFindNextNode () const

Detailed Description

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

Definition at line 26 of file itkPreOrderTreeIterator.h.


Member Typedef Documentation

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

Enumerations

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 34 of file itkPreOrderTreeIterator.h.

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

Definition at line 32 of file itkPreOrderTreeIterator.h.

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 33 of file itkPreOrderTreeIterator.h.

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

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 31 of file itkPreOrderTreeIterator.h.


Constructor & Destructor Documentation

template<class TTreeType >
itk::PreOrderTreeIterator< TTreeType >::PreOrderTreeIterator ( const TTreeType *  tree,
const 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 167 of file itkPreOrderTreeIterator.h.

template<class TTreeType >
const PreOrderTreeIterator< TTreeType >::TreeNodeType * itk::PreOrderTreeIterator< TTreeType >::FindNextNode ( ) const [private]

Find the next node

Definition at line 98 of file itkPreOrderTreeIterator.h.

References NULL.

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

Get the type of the iterator

Return the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 67 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 75 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 88 of file itkPreOrderTreeIterator.h.


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