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

#include <itkInOrderTreeIterator.h>

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

List of all members.

Public Types

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

Public Member Functions

TreeIteratorBase< TTreeType > * Clone ()
NodeType GetType () const
 InOrderTreeIterator (TreeType &start)
 InOrderTreeIterator (TreeType *tree, TreeNodeType *start=NULL)

Protected Member Functions

const ValueTypeNext ()
bool HasNext () const

Private Member Functions

const TreeNodeTypeFindNextNode () const

Detailed Description

template<class TTreeType>
class itk::InOrderTreeIterator< TTreeType >

Definition at line 26 of file itkInOrderTreeIterator.h.


Member Typedef Documentation

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

Enumerations

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 36 of file itkInOrderTreeIterator.h.

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

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 31 of file itkInOrderTreeIterator.h.

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

Definition at line 32 of file itkInOrderTreeIterator.h.

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 35 of file itkInOrderTreeIterator.h.

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

Definition at line 33 of file itkInOrderTreeIterator.h.

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 34 of file itkInOrderTreeIterator.h.


Constructor & Destructor Documentation

template<class TTreeType >
itk::InOrderTreeIterator< TTreeType >::InOrderTreeIterator ( TreeType start)

Constructors

Constructor

Definition at line 65 of file itkInOrderTreeIterator.h.

template<class TTreeType >
itk::InOrderTreeIterator< TTreeType >::InOrderTreeIterator ( TreeType tree,
TreeNodeType start = NULL 
)

Constructor

Definition at line 71 of file itkInOrderTreeIterator.h.


Member Function Documentation

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

Clone function

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 168 of file itkInOrderTreeIterator.h.

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

Find the next node

Definition at line 108 of file itkInOrderTreeIterator.h.

References NULL.

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

Get the type of iterator

Get the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 78 of file itkInOrderTreeIterator.h.

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

Return true if the next node exists

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 85 of file itkInOrderTreeIterator.h.

References NULL.

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

Return the next node

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 98 of file itkInOrderTreeIterator.h.


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