ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Private Types | Private Attributes | Friends | List of all members
itk::LabelMap< TLabelObject >::Iterator Class Reference

#include <itkLabelMap.h>

+ Collaboration diagram for itk::LabelMap< TLabelObject >::Iterator:

Detailed Description

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

A forward iterator over the LabelObjects of a LabelMap.

Definition at line 371 of file itkLabelMap.h.

Public Member Functions

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

Private Types

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

Private Attributes

InternalIteratorType m_Begin
 
InternalIteratorType m_End
 
InternalIteratorType m_Iterator
 

Friends

class LabelMap
 

Member Typedef Documentation

template<class TLabelObject >
typedef std::map< LabelType, LabelObjectPointerType >::iterator itk::LabelMap< TLabelObject >::Iterator::InternalIteratorType
private

Definition at line 443 of file itkLabelMap.h.

Constructor & Destructor Documentation

template<class TLabelObject >
itk::LabelMap< TLabelObject >::Iterator::Iterator ( )
inline

Definition at line 375 of file itkLabelMap.h.

template<class TLabelObject >
itk::LabelMap< TLabelObject >::Iterator::Iterator ( Self lm)
inline

Definition at line 377 of file itkLabelMap.h.

template<class TLabelObject >
itk::LabelMap< TLabelObject >::Iterator::Iterator ( const Iterator iter)
inline

Member Function Documentation

template<class TLabelObject >
const LabelType& itk::LabelMap< TLabelObject >::Iterator::GetLabel ( ) const
inline

Definition at line 404 of file itkLabelMap.h.

template<class TLabelObject >
LabelObjectType* itk::LabelMap< TLabelObject >::Iterator::GetLabelObject ( )
inline

Definition at line 399 of file itkLabelMap.h.

template<class TLabelObject >
void itk::LabelMap< TLabelObject >::Iterator::GoToBegin ( void  )
inline

Definition at line 432 of file itkLabelMap.h.

template<class TLabelObject >
bool itk::LabelMap< TLabelObject >::Iterator::IsAtEnd ( void  ) const
inline

Definition at line 437 of file itkLabelMap.h.

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

Definition at line 427 of file itkLabelMap.h.

template<class TLabelObject >
Iterator itk::LabelMap< TLabelObject >::Iterator::operator++ ( int  )
inline

Definition at line 409 of file itkLabelMap.h.

template<class TLabelObject >
Iterator& itk::LabelMap< TLabelObject >::Iterator::operator++ ( )
inline

Definition at line 416 of file itkLabelMap.h.

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

Friends And Related Function Documentation

template<class TLabelObject >
friend class LabelMap
friend

Definition at line 448 of file itkLabelMap.h.

Member Data Documentation

template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_Begin
private
template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_End
private
template<class TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_Iterator
private

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