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

#include <itkMapContainer.h>

Detailed Description

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

The non-const iterator type for the map.

Definition at line 171 of file itkMapContainer.h.

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

Public Types

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

Public Member Functions

ElementIdentifier Index () const
 
 Iterator ()=default
 
 Iterator (const MapIterator &i)
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ConstIterator)
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Iterator)
 
Iteratoroperator* ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
Iteratoroperator-> ()
 
bool operator== (const ConstIterator &r) const
 
bool operator== (const Iterator &r) const
 
ElementValue ()
 

Private Attributes

MapIterator m_Iter
 

Friends

class ConstIterator
 

Member Typedef Documentation

◆ difference_type

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::Iterator::difference_type = typename MapIterator::difference_type

Definition at line 176 of file itkMapContainer.h.

◆ iterator_category

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::Iterator::iterator_category = typename MapIterator::iterator_category

Definition at line 174 of file itkMapContainer.h.

◆ pointer

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::Iterator::pointer = typename MapIterator::pointer

Definition at line 177 of file itkMapContainer.h.

◆ reference

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::Iterator::reference = typename MapIterator::reference

Definition at line 178 of file itkMapContainer.h.

◆ value_type

template<typename TElementIdentifier , typename TElement >
using itk::MapContainer< TElementIdentifier, TElement >::Iterator::value_type = typename MapIterator::value_type

Definition at line 175 of file itkMapContainer.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

◆ Iterator() [2/2]

template<typename TElementIdentifier , typename TElement >
itk::MapContainer< TElementIdentifier, TElement >::Iterator::Iterator ( const MapIterator i)
inline

Definition at line 181 of file itkMapContainer.h.

Member Function Documentation

◆ Index()

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

Get the index into the MapContainer associated with this iterator.

Definition at line 232 of file itkMapContainer.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION() [1/2]

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

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION() [2/2]

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

◆ operator*()

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

Definition at line 185 of file itkMapContainer.h.

◆ operator++() [1/2]

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

Definition at line 188 of file itkMapContainer.h.

◆ operator++() [2/2]

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

Definition at line 194 of file itkMapContainer.h.

◆ operator--() [1/2]

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

Definition at line 201 of file itkMapContainer.h.

◆ operator--() [2/2]

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

Definition at line 207 of file itkMapContainer.h.

◆ operator->()

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

Definition at line 186 of file itkMapContainer.h.

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Value()

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

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

Definition at line 239 of file itkMapContainer.h.

Friends And Related Function Documentation

◆ ConstIterator

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

Definition at line 246 of file itkMapContainer.h.

Member Data Documentation

◆ m_Iter

template<typename TElementIdentifier , typename TElement >
MapIterator itk::MapContainer< TElementIdentifier, TElement >::Iterator::m_Iter
private

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