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

#include <itkLabelMap.h>

Detailed Description

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

A forward iterator over the LabelObjects of a LabelMap.

Definition at line 392 of file itkLabelMap.h.

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

Public Member Functions

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

Private Types

using InternalIteratorType = typename std::map< LabelType, LabelObjectPointerType >::iterator
 

Private Attributes

InternalIteratorType m_Begin
 
InternalIteratorType m_End
 
InternalIteratorType m_Iterator
 

Friends

class LabelMap
 

Member Typedef Documentation

◆ InternalIteratorType

template<typename TLabelObject >
using itk::LabelMap< TLabelObject >::Iterator::InternalIteratorType = typename std::map<LabelType, LabelObjectPointerType>::iterator
private

Definition at line 452 of file itkLabelMap.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename TLabelObject >
itk::LabelMap< TLabelObject >::Iterator::Iterator ( )
default

◆ Iterator() [2/2]

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

Definition at line 397 of file itkLabelMap.h.

Member Function Documentation

◆ GetLabel()

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

Definition at line 411 of file itkLabelMap.h.

◆ GetLabelObject()

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

Definition at line 405 of file itkLabelMap.h.

◆ GoToBegin()

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

Definition at line 440 of file itkLabelMap.h.

◆ IsAtEnd()

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

Definition at line 446 of file itkLabelMap.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

template<typename TLabelObject >
itk::LabelMap< TLabelObject >::Iterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( Iterator  )

◆ operator++() [1/2]

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

Definition at line 425 of file itkLabelMap.h.

◆ operator++() [2/2]

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

Definition at line 417 of file itkLabelMap.h.

◆ operator==()

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

Friends And Related Function Documentation

◆ LabelMap

template<typename TLabelObject >
friend class LabelMap
friend

Definition at line 457 of file itkLabelMap.h.

Member Data Documentation

◆ m_Begin

template<typename TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_Begin
private

Definition at line 454 of file itkLabelMap.h.

Referenced by itk::LabelMap< TLabelObject >::Iterator::operator==().

◆ m_End

template<typename TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_End
private

Definition at line 455 of file itkLabelMap.h.

Referenced by itk::LabelMap< TLabelObject >::Iterator::operator==().

◆ m_Iterator

template<typename TLabelObject >
InternalIteratorType itk::LabelMap< TLabelObject >::Iterator::m_Iterator
private

Definition at line 453 of file itkLabelMap.h.

Referenced by itk::LabelMap< TLabelObject >::Iterator::operator==().


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