ITK  4.3.0
Insight Segmentation and Registration Toolkit
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 Member Functions

ElementIdentifier Index (void) const
 
 Iterator ()
 
 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-> ()
 
bool operator== (const Iterator &r) const
 
bool operator== (const ConstIterator &r) const
 
ElementValue (void)
 

Private Attributes

MapIterator m_Iter
 

Friends

class ConstIterator
 

Constructor & Destructor Documentation

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

Definition at line 160 of file itkMapContainer.h.

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

Definition at line 161 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 176 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 163 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 164 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 >
Element& itk::MapContainer< TElementIdentifier, TElement >::Iterator::Value ( void  )
inline

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

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