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

#include <itkLabelMap.h>

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

Public Member Functions

 ConstIterator ()=default
 
 ConstIterator (const ConstIterator &iter)
 
 ConstIterator (const Self *lm)
 
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

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

Private Attributes

InternalIteratorType m_Begin
 
InternalIteratorType m_End
 
InternalIteratorType m_Iterator
 

Detailed Description

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

A forward iterator over the LabelObjects of a LabelMap.

Definition at line 318 of file itkLabelMap.h.

Member Typedef Documentation

◆ InternalIteratorType

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

Definition at line 398 of file itkLabelMap.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/3]

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

◆ ConstIterator() [2/3]

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

Definition at line 323 of file itkLabelMap.h.

◆ ConstIterator() [3/3]

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

Member Function Documentation

◆ GetLabel()

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

Definition at line 353 of file itkLabelMap.h.

◆ GetLabelObject()

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

Definition at line 347 of file itkLabelMap.h.

◆ GoToBegin()

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

Definition at line 386 of file itkLabelMap.h.

◆ IsAtEnd()

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

Definition at line 392 of file itkLabelMap.h.

◆ operator!=()

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

Definition at line 380 of file itkLabelMap.h.

◆ operator++() [1/2]

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

Definition at line 367 of file itkLabelMap.h.

◆ operator++() [2/2]

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

Definition at line 359 of file itkLabelMap.h.

◆ operator=()

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

◆ 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: