ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Private Types | Private Attributes
itk::LabelMap< TLabelObject >::ConstIterator Class Reference

A forward iterator over the LabelObjects of a LabelMap. More...

#include <itkLabelMap.h>

Collaboration diagram for itk::LabelMap< TLabelObject >::ConstIterator:

List of all members.

Public Member Functions

 ConstIterator ()
 ConstIterator (const Self *lm)
 ConstIterator (const ConstIterator &iter)
const LabelTypeGetLabel () const
const LabelObjectTypeGetLabelObject () const
void GoToBegin ()
bool IsAtEnd () const
bool operator!= (const ConstIterator &iter) const
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
ConstIteratoroperator= (const ConstIterator &iter)
bool operator== (const ConstIterator &iter) const

Private Types

typedef std::map< LabelType,
LabelObjectPointerType >
::const_iterator 
InternalIteratorType

Private Attributes

InternalIteratorType m_Begin
InternalIteratorType m_End
InternalIteratorType m_Iterator

Detailed Description

template<class TLabelObject>
class itk::LabelMap< TLabelObject >::ConstIterator

A forward iterator over the LabelObjects of a LabelMap.

Definition at line 309 of file itkLabelMap.h.


Member Typedef Documentation

template<class TLabelObject >
typedef std::map< LabelType, LabelObjectPointerType >::const_iterator itk::LabelMap< TLabelObject >::ConstIterator::InternalIteratorType [private]

Definition at line 381 of file itkLabelMap.h.


Constructor & Destructor Documentation

template<class TLabelObject >
itk::LabelMap< TLabelObject >::ConstIterator::ConstIterator ( ) [inline]

Definition at line 313 of file itkLabelMap.h.

template<class TLabelObject >
itk::LabelMap< TLabelObject >::ConstIterator::ConstIterator ( const Self lm) [inline]

Definition at line 315 of file itkLabelMap.h.

template<class TLabelObject >
itk::LabelMap< TLabelObject >::ConstIterator::ConstIterator ( const ConstIterator iter) [inline]

Member Function Documentation

template<class TLabelObject >
const LabelType& itk::LabelMap< TLabelObject >::ConstIterator::GetLabel ( ) const [inline]

Definition at line 342 of file itkLabelMap.h.

template<class TLabelObject >
const LabelObjectType* itk::LabelMap< TLabelObject >::ConstIterator::GetLabelObject ( ) const [inline]

Definition at line 337 of file itkLabelMap.h.

template<class TLabelObject >
void itk::LabelMap< TLabelObject >::ConstIterator::GoToBegin ( void  ) [inline]

Definition at line 370 of file itkLabelMap.h.

template<class TLabelObject >
bool itk::LabelMap< TLabelObject >::ConstIterator::IsAtEnd ( void  ) const [inline]

Definition at line 375 of file itkLabelMap.h.

template<class TLabelObject >
bool itk::LabelMap< TLabelObject >::ConstIterator::operator!= ( const ConstIterator iter) const [inline]

Definition at line 365 of file itkLabelMap.h.

template<class TLabelObject >
ConstIterator& itk::LabelMap< TLabelObject >::ConstIterator::operator++ ( ) [inline]

Definition at line 354 of file itkLabelMap.h.

template<class TLabelObject >
ConstIterator itk::LabelMap< TLabelObject >::ConstIterator::operator++ ( int  ) [inline]

Definition at line 347 of file itkLabelMap.h.

template<class TLabelObject >
ConstIterator& itk::LabelMap< TLabelObject >::ConstIterator::operator= ( const ConstIterator iter) [inline]
template<class TLabelObject >
bool itk::LabelMap< TLabelObject >::ConstIterator::operator== ( const ConstIterator iter) const [inline]

Member Data Documentation

template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::ConstIterator::m_Begin [private]
template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::ConstIterator::m_End [private]
template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::ConstIterator::m_Iterator [private]

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