ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator Class Reference

#include <itkMapContainer.h>

Detailed Description

template<typename TElementIdentifier, typename TElement>
class itk::MapContainer< TElementIdentifier, TElement >::ConstIterator

The const iterator type for the map.

Definition at line 253 of file itkMapContainer.h.

+ Collaboration diagram for itk::MapContainer< TElementIdentifier, TElement >::ConstIterator:

Public Types

using difference_type = typename MapConstIterator::difference_type
 
using iterator_category = typename MapConstIterator::iterator_category
 
using pointer = typename MapConstIterator::pointer
 
using reference = typename MapConstIterator::reference
 
using value_type = typename MapConstIterator::value_type
 

Public Member Functions

 ConstIterator ()=default
 
 ConstIterator (const Iterator &r)
 
 ConstIterator (const MapConstIterator &ci)
 
ElementIdentifier Index () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ConstIterator)
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Iterator)
 
ConstIteratoroperator* ()
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
ConstIteratoroperator-- ()
 
ConstIterator operator-- (int)
 
ConstIteratoroperator-> ()
 
bool operator== (const ConstIterator &r) const
 
bool operator== (const Iterator &r) const
 
const ElementValue () const
 

Private Attributes

MapConstIterator m_Iter
 

Friends

class Iterator
 

Member Typedef Documentation

◆ difference_type

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::difference_type = typename MapConstIterator::difference_type

Definition at line 258 of file itkMapContainer.h.

◆ iterator_category

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::iterator_category = typename MapConstIterator::iterator_category

Definition at line 256 of file itkMapContainer.h.

◆ pointer

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::pointer = typename MapConstIterator::pointer

Definition at line 259 of file itkMapContainer.h.

◆ reference

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::reference = typename MapConstIterator::reference

Definition at line 260 of file itkMapContainer.h.

◆ value_type

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::value_type = typename MapConstIterator::value_type

Definition at line 257 of file itkMapContainer.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/3]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::ConstIterator ( )
default

◆ ConstIterator() [2/3]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::ConstIterator ( const MapConstIterator ci)
inline

Definition at line 263 of file itkMapContainer.h.

◆ ConstIterator() [3/3]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::ConstIterator ( const Iterator r)
inline

Definition at line 266 of file itkMapContainer.h.

Member Function Documentation

◆ Index()

template<typename TElementIdentifier , typename TElement >
ElementIdentifier itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::Index ( ) const
inline

Get the index into the MapContainer associated with this iterator.

Definition at line 317 of file itkMapContainer.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION() [1/2]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( ConstIterator  )

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION() [2/2]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( Iterator  )

◆ operator*()

template<typename TElementIdentifier , typename TElement >
ConstIterator& itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator* ( )
inline

Definition at line 270 of file itkMapContainer.h.

◆ operator++() [1/2]

template<typename TElementIdentifier , typename TElement >
ConstIterator& itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator++ ( )
inline

Definition at line 273 of file itkMapContainer.h.

◆ operator++() [2/2]

template<typename TElementIdentifier , typename TElement >
ConstIterator itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator++ ( int  )
inline

Definition at line 279 of file itkMapContainer.h.

◆ operator--() [1/2]

template<typename TElementIdentifier , typename TElement >
ConstIterator& itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator-- ( )
inline

Definition at line 286 of file itkMapContainer.h.

◆ operator--() [2/2]

template<typename TElementIdentifier , typename TElement >
ConstIterator itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator-- ( int  )
inline

Definition at line 292 of file itkMapContainer.h.

◆ operator->()

template<typename TElementIdentifier , typename TElement >
ConstIterator* itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator-> ( )
inline

Definition at line 271 of file itkMapContainer.h.

◆ operator==() [1/2]

template<typename TElementIdentifier , typename TElement >
bool itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator== ( const ConstIterator r) const
inline

◆ operator==() [2/2]

template<typename TElementIdentifier , typename TElement >
bool itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::operator== ( const Iterator r) const
inline

◆ Value()

template<typename TElementIdentifier , typename TElement >
const Element& itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::Value ( ) const
inline

Get the value at this iterator's location in the MapContainer.

Definition at line 324 of file itkMapContainer.h.

Friends And Related Function Documentation

◆ Iterator

template<typename TElementIdentifier , typename TElement >
friend class Iterator
friend

Definition at line 331 of file itkMapContainer.h.

Member Data Documentation

◆ m_Iter

template<typename TElementIdentifier , typename TElement >
MapConstIterator itk::MapContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter
private

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