ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkChildTreeIterator.h>
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 () |
Self & | operator= (Superclass &iterator) |
Protected Member Functions | |
bool | HasNext () const |
const ValueType & | Next () |
Private Attributes | |
ChildIdentifier | m_ListPosition |
TreeNodeType * | m_ParentNode |
Definition at line 26 of file itkChildTreeIterator.h.
typedef TreeNodeType::ChildIdentifier itk::ChildTreeIterator< TTreeType >::ChildIdentifier |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 36 of file itkChildTreeIterator.h.
typedef Superclass::NodeType itk::ChildTreeIterator< TTreeType >::NodeType |
Enumerations
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 37 of file itkChildTreeIterator.h.
typedef ChildTreeIterator itk::ChildTreeIterator< TTreeType >::Self |
Typedefs
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 31 of file itkChildTreeIterator.h.
typedef TreeIteratorBase< TTreeType > itk::ChildTreeIterator< TTreeType >::Superclass |
Definition at line 32 of file itkChildTreeIterator.h.
typedef Superclass::TreeNodeType itk::ChildTreeIterator< TTreeType >::TreeNodeType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 35 of file itkChildTreeIterator.h.
typedef TTreeType itk::ChildTreeIterator< TTreeType >::TreeType |
Definition at line 33 of file itkChildTreeIterator.h.
typedef TTreeType::ValueType itk::ChildTreeIterator< TTreeType >::ValueType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 34 of file itkChildTreeIterator.h.
itk::ChildTreeIterator< TTreeType >::ChildTreeIterator | ( | TreeType * | tree, |
const TreeNodeType * | start = NULL |
||
) |
Constructor
itk::ChildTreeIterator< TTreeType >::ChildTreeIterator | ( | const TreeIteratorBase< TTreeType > & | iterator | ) |
Constructor
TreeIteratorBase< TTreeType >* itk::ChildTreeIterator< TTreeType >::Clone | ( | ) | [virtual] |
Clone function
Implements itk::TreeIteratorBase< TTreeType >.
NodeType itk::ChildTreeIterator< TTreeType >::GetType | ( | ) | const [virtual] |
Get the type of the iterator
Implements itk::TreeIteratorBase< TTreeType >.
virtual bool itk::ChildTreeIterator< TTreeType >::GoToChild | ( | ChildIdentifier | number = 0 | ) | [virtual] |
Go to a specific child node
Reimplemented from itk::TreeIteratorBase< TTreeType >.
virtual bool itk::ChildTreeIterator< TTreeType >::GoToParent | ( | ) | [virtual] |
Go to a parent node
Reimplemented from itk::TreeIteratorBase< TTreeType >.
bool itk::ChildTreeIterator< TTreeType >::HasNext | ( | ) | const [protected, virtual] |
Return true if the next value exists
Implements itk::TreeIteratorBase< TTreeType >.
const ValueType& itk::ChildTreeIterator< TTreeType >::Next | ( | ) | [protected, virtual] |
Get the next value
Implements itk::TreeIteratorBase< TTreeType >.
Self& itk::ChildTreeIterator< TTreeType >::operator= | ( | Superclass & | iterator | ) | [inline] |
operator =
Definition at line 58 of file itkChildTreeIterator.h.
References itk::ChildTreeIterator< TTreeType >::m_ListPosition, itk::ChildTreeIterator< TTreeType >::m_ParentNode, and itk::TreeIteratorBase< TTreeType >::operator=().
ChildIdentifier itk::ChildTreeIterator< TTreeType >::m_ListPosition [mutable, private] |
Definition at line 79 of file itkChildTreeIterator.h.
Referenced by itk::ChildTreeIterator< TTreeType >::operator=().
TreeNodeType* itk::ChildTreeIterator< TTreeType >::m_ParentNode [private] |
Definition at line 80 of file itkChildTreeIterator.h.
Referenced by itk::ChildTreeIterator< TTreeType >::operator=().