ITK  5.0.0
Insight Segmentation and Registration 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:

Detailed Description

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

The non-const iterator type for the map.

Definition at line 158 of file itkMapContainer.h.

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

Private Attributes

MapIterator m_Iter
 

Friends

class ConstIterator
 

Member Typedef Documentation

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

Definition at line 163 of file itkMapContainer.h.

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

Definition at line 161 of file itkMapContainer.h.

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

Definition at line 164 of file itkMapContainer.h.

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

Definition at line 165 of file itkMapContainer.h.

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

Definition at line 162 of file itkMapContainer.h.

Constructor & Destructor Documentation

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

Definition at line 168 of file itkMapContainer.h.

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

Definition at line 169 of file itkMapContainer.h.

Member Function Documentation

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

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

Definition at line 172 of file itkMapContainer.h.

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

Definition at line 174 of file itkMapContainer.h.

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

Definition at line 175 of file itkMapContainer.h.

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

Definition at line 176 of file itkMapContainer.h.

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

Definition at line 177 of file itkMapContainer.h.

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

Definition at line 173 of file itkMapContainer.h.

template<typename TElementIdentifier , typename TElement >
Iterator& itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator= ( const Iterator r)
inline
template<typename TElementIdentifier , typename TElement >
bool itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator== ( const Iterator r) const
inline
template<typename TElementIdentifier , typename TElement >
bool itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator== ( const ConstIterator r) const
inline
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 188 of file itkMapContainer.h.

Friends And Related Function Documentation

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

Definition at line 192 of file itkMapContainer.h.

Member Data Documentation

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: