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

#include <itkLabelMap.h>

Detailed Description

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

A forward iterator over the LabelObjects of a LabelMap.

Definition at line 321 of file itkLabelMap.h.

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

Public Member Functions

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

Private Types

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

Private Attributes

InternalIteratorType m_Begin
 
InternalIteratorType m_End
 
InternalIteratorType m_Iterator
 

Member Typedef Documentation

◆ InternalIteratorType

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

Definition at line 381 of file itkLabelMap.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

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

◆ ConstIterator() [2/2]

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

Definition at line 326 of file itkLabelMap.h.

Member Function Documentation

◆ GetLabel()

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

Definition at line 340 of file itkLabelMap.h.

◆ GetLabelObject()

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

Definition at line 334 of file itkLabelMap.h.

◆ GoToBegin()

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

Definition at line 369 of file itkLabelMap.h.

◆ IsAtEnd()

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

Definition at line 375 of file itkLabelMap.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

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

◆ operator++() [1/2]

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

Definition at line 354 of file itkLabelMap.h.

◆ operator++() [2/2]

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

Definition at line 346 of file itkLabelMap.h.

◆ operator==()

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

Member Data Documentation

◆ m_Begin

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

◆ m_End

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

◆ m_Iterator

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

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