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

#include <itkChildTreeIterator.h>

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

List of all members.

Public Types

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

Public Member Functions

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

Protected Member Functions

bool HasNext () const
const ValueTypeNext ()

Private Attributes

ChildIdentifier m_ListPosition
TreeNodeTypem_ParentNode

Detailed Description

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

Definition at line 26 of file itkChildTreeIterator.h.


Member Typedef Documentation

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

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 36 of file itkChildTreeIterator.h.

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

Enumerations

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 37 of file itkChildTreeIterator.h.

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

Typedefs

Reimplemented from itk::TreeIteratorBase< TTreeType >.

Definition at line 31 of file itkChildTreeIterator.h.

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

Definition at line 32 of file itkChildTreeIterator.h.

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 33 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


Member Function Documentation

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

Clone function

Implements itk::TreeIteratorBase< TTreeType >.

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

Get the type of the iterator

Implements itk::TreeIteratorBase< TTreeType >.

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

Go to a specific child node

Reimplemented from itk::TreeIteratorBase< TTreeType >.

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

Go to a parent node

Reimplemented from itk::TreeIteratorBase< TTreeType >.

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

Return true if the next value exists

Implements itk::TreeIteratorBase< TTreeType >.

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

Get the next value

Implements itk::TreeIteratorBase< TTreeType >.

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

Member Data Documentation

template<class TTreeType>
ChildIdentifier itk::ChildTreeIterator< TTreeType >::m_ListPosition [mutable, private]
template<class TTreeType>
TreeNodeType* itk::ChildTreeIterator< TTreeType >::m_ParentNode [private]

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