ITK  4.9.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 157 of file itkMapContainer.h.

Public Types

typedef
MapIterator::difference_type 
difference_type
 
typedef
MapIterator::iterator_category 
iterator_category
 
typedef MapIterator::pointer pointer
 
typedef MapIterator::reference reference
 
typedef MapIterator::value_type value_type
 

Public Member Functions

ElementIdentifier Index (void) const
 
 Iterator ()
 
 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 (void)
 

Private Attributes

MapIterator m_Iter
 

Friends

class ConstIterator
 

Member Typedef Documentation

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

Definition at line 162 of file itkMapContainer.h.

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

Definition at line 160 of file itkMapContainer.h.

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

Definition at line 163 of file itkMapContainer.h.

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

Definition at line 164 of file itkMapContainer.h.

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

Definition at line 161 of file itkMapContainer.h.

Constructor & Destructor Documentation

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

Definition at line 166 of file itkMapContainer.h.

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

Definition at line 167 of file itkMapContainer.h.

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

Definition at line 168 of file itkMapContainer.h.

Member Function Documentation

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

Get the index into the MapContainer associated with this iterator.

Definition at line 184 of file itkMapContainer.h.

References itk::MapContainer< TElementIdentifier, TElement >::Iterator::m_Iter.

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

template<typename TElementIdentifier , typename TElement >
Iterator& itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator++ ( )
inline
template<typename TElementIdentifier , typename TElement >
Iterator itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator++ ( int  )
inline
template<typename TElementIdentifier , typename TElement >
Iterator& itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator-- ( )
inline
template<typename TElementIdentifier , typename TElement >
Iterator itk::MapContainer< TElementIdentifier, TElement >::Iterator::operator-- ( int  )
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= ( 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 ( void  )
inline

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

Definition at line 187 of file itkMapContainer.h.

References itk::MapContainer< TElementIdentifier, TElement >::Iterator::m_Iter.

Friends And Related Function Documentation

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

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