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

itk::ChildTreeIterator< TTreeType > Class Template Reference

#include <itkChildTreeIterator.h>

Inheritance diagram for itk::ChildTreeIterator< TTreeType >:

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

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 ChildTreeIterator (TreeType *tree, const TreeNodeType *start=NULL)
 ChildTreeIterator (const TreeIteratorBase< TTreeType > &iterator)
int GetType () const
virtual bool GoToChild (int number=0)
virtual bool GoToParent ()
TreeIteratorBase< TTreeType > * Clone ()
Selfoperator= (Superclass &iterator)

Protected Member Functions

const ValueTypeNext ()
bool HasNext () const

template<class TTreeType>
class itk::ChildTreeIterator< TTreeType >


Member Typedef Documentation

template<class TTreeType>
typedef Superclass::Self itk::ChildTreeIterator< TTreeType >::Self
 

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 33 of file itkChildTreeIterator.h.

Referenced by itk::ChildTreeIterator< TTreeType >::operator=().

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

Typedefs

Definition at line 31 of file itkChildTreeIterator.h.

Referenced by itk::ChildTreeIterator< TTreeType >::operator=().

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 35 of file itkChildTreeIterator.h.

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

Definition at line 32 of file itkChildTreeIterator.h.

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 34 of file itkChildTreeIterator.h.


Constructor & Destructor Documentation

template<class TTreeType>
itk::ChildTreeIterator< TTreeType >::ChildTreeIterator TreeType tree,
const TreeNodeType start = NULL
 

Constructor

template<class TTreeType>
itk::ChildTreeIterator< TTreeType >::ChildTreeIterator const TreeIteratorBase< TTreeType > &  iterator  ) 
 

Constructor

Definition at line 93 of file itkChildTreeIterator.h.

References itk::TreeNode< ValueType >::GetChild().


Member Function Documentation

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

Clone function

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 174 of file itkChildTreeIterator.h.

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

Get the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 140 of file itkChildTreeIterator.h.

template<class TTreeType>
bool itk::ChildTreeIterator< TTreeType >::GoToChild int  number = 0  )  [virtual]
 

Go to a specific child node

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 104 of file itkChildTreeIterator.h.

References NULL.

template<class TTreeType>
bool itk::ChildTreeIterator< TTreeType >::GoToParent  )  [virtual]
 

Go to a parent node

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 121 of file itkChildTreeIterator.h.

References NULL.

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

Return true if the next value exists

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 148 of file itkChildTreeIterator.h.

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

Get the next value

Implements itk::TreeIteratorBase< TTreeType >.

Definition at line 164 of file itkChildTreeIterator.h.

template<class TTreeType>
Self& itk::ChildTreeIterator< TTreeType >::operator= Superclass iterator  )  [inline]
 

operator =

Definition at line 56 of file itkChildTreeIterator.h.

References itk::ChildTreeIterator< TTreeType >::m_ListPosition, itk::ChildTreeIterator< TTreeType >::m_ParentNode, itk::ChildTreeIterator< TTreeType >::Self, and itk::ChildTreeIterator< TTreeType >::Superclass.


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