ITK  5.2.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>

+ 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 Iterator &i)
 
 Iterator (const MapIterator &i)
 
bool operator!= (const ConstIterator &r) const
 
bool operator!= (const Iterator &r) const
 
Iteratoroperator* ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
Iteratoroperator-> ()
 
Iteratoroperator= (const Iterator &r)
 
bool operator== (const ConstIterator &r) const
 
bool operator== (const Iterator &r) const
 
ElementValue ()
 

Private Attributes

MapIterator m_Iter
 

Friends

class ConstIterator
 

Detailed Description

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

The non-const iterator type for the map.

Definition at line 167 of file itkMapContainer.h.

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 172 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 170 of file itkMapContainer.h.

◆ pointer

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

Definition at line 173 of file itkMapContainer.h.

◆ reference

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

Definition at line 174 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 171 of file itkMapContainer.h.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

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

◆ Iterator() [2/3]

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

Definition at line 177 of file itkMapContainer.h.

◆ Iterator() [3/3]

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

Definition at line 180 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 242 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

◆ operator*()

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

Definition at line 190 of file itkMapContainer.h.

◆ operator++() [1/2]

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

Definition at line 193 of file itkMapContainer.h.

◆ operator++() [2/2]

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

Definition at line 199 of file itkMapContainer.h.

◆ operator--() [1/2]

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

Definition at line 206 of file itkMapContainer.h.

◆ operator--() [2/2]

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

Definition at line 212 of file itkMapContainer.h.

◆ operator->()

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

Definition at line 191 of file itkMapContainer.h.

◆ operator=()

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

◆ 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 249 of file itkMapContainer.h.

Friends And Related Function Documentation

◆ ConstIterator

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

Definition at line 256 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: