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

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

Private Attributes

MapConstIterator m_Iter
 

Friends

class Iterator
 

Detailed Description

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

The const iterator type for the map.

Definition at line 263 of file itkMapContainer.h.

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 268 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 266 of file itkMapContainer.h.

◆ pointer

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

Definition at line 269 of file itkMapContainer.h.

◆ reference

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

Definition at line 270 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 267 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 273 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 276 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 338 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

◆ operator*()

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

Definition at line 286 of file itkMapContainer.h.

◆ operator++() [1/2]

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

Definition at line 289 of file itkMapContainer.h.

◆ operator++() [2/2]

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

Definition at line 295 of file itkMapContainer.h.

◆ operator--() [1/2]

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

Definition at line 302 of file itkMapContainer.h.

◆ operator--() [2/2]

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

Definition at line 308 of file itkMapContainer.h.

◆ operator->()

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

Definition at line 287 of file itkMapContainer.h.

◆ operator=()

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

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

Friends And Related Function Documentation

◆ Iterator

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

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