Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VectorContainer< TElementIdentifier, TElement >::Iterator Class Reference

#include <itkVectorContainer.h>

List of all members.


Detailed Description

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

Simulate STL-map style iteration where dereferencing the iterator gives access to both the index and the value.

Definition at line 116 of file itkVectorContainer.h.

Public Member Functions

ElementIdentifier Index (void) const
 Iterator (size_type d, const VectorIterator &i)
 Iterator ()
Iteratoroperator * ()
bool operator!= (const ConstIterator &r) const
bool operator!= (const Iterator &r) const
Iterator operator++ (int)
Iteratoroperator++ ()
Iterator operator-- (int)
Iteratoroperator-- ()
Iteratoroperator-> ()
bool operator== (const ConstIterator &r) const
bool operator== (const Iterator &r) const
ElementValue (void) const

Friends

class ConstIterator


Constructor & Destructor Documentation

template<typename TElementIdentifier, typename TElement>
itk::VectorContainer< TElementIdentifier, TElement >::Iterator::Iterator (  )  [inline]

Definition at line 119 of file itkVectorContainer.h.

template<typename TElementIdentifier, typename TElement>
itk::VectorContainer< TElementIdentifier, TElement >::Iterator::Iterator ( size_type  d,
const VectorIterator &  i 
) [inline]

Definition at line 120 of file itkVectorContainer.h.


Member Function Documentation

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

Get the index into the VectorContainer associated with this iterator.

Definition at line 136 of file itkVectorContainer.h.

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

Definition at line 123 of file itkVectorContainer.h.

template<typename TElementIdentifier, typename TElement>
bool itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator!= ( const ConstIterator r  )  const [inline]

Definition at line 133 of file itkVectorContainer.h.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.

template<typename TElementIdentifier, typename TElement>
bool itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator!= ( const Iterator r  )  const [inline]

Definition at line 131 of file itkVectorContainer.h.

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

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

Definition at line 126 of file itkVectorContainer.h.

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

Definition at line 125 of file itkVectorContainer.h.

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

Definition at line 128 of file itkVectorContainer.h.

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

Definition at line 127 of file itkVectorContainer.h.

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

Definition at line 124 of file itkVectorContainer.h.

template<typename TElementIdentifier, typename TElement>
bool itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator== ( const ConstIterator r  )  const [inline]

Definition at line 132 of file itkVectorContainer.h.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.

template<typename TElementIdentifier, typename TElement>
bool itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator== ( const Iterator r  )  const [inline]

Definition at line 130 of file itkVectorContainer.h.

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

template<typename TElementIdentifier, typename TElement>
Element& itk::VectorContainer< TElementIdentifier, TElement >::Iterator::Value ( void   )  const [inline]

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

Definition at line 139 of file itkVectorContainer.h.


Friends And Related Function Documentation

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

Definition at line 144 of file itkVectorContainer.h.


The documentation for this class was generated from the following file:
Generated at Sun Sep 23 21:13:02 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000