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

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

#include <itkVectorContainer.h>

List of all members.


Detailed Description

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

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

Definition at line 150 of file itkVectorContainer.h.

Public Member Functions

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

Friends

class Iterator


Constructor & Destructor Documentation

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

Definition at line 153 of file itkVectorContainer.h.

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

Definition at line 154 of file itkVectorContainer.h.

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

Definition at line 155 of file itkVectorContainer.h.

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


Member Function Documentation

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

Get the index into the VectorContainer associated with this iterator.

Definition at line 173 of file itkVectorContainer.h.

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

Definition at line 158 of file itkVectorContainer.h.

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

Definition at line 170 of file itkVectorContainer.h.

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

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

Definition at line 168 of file itkVectorContainer.h.

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

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

Definition at line 161 of file itkVectorContainer.h.

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

Definition at line 160 of file itkVectorContainer.h.

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

Definition at line 163 of file itkVectorContainer.h.

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

Definition at line 162 of file itkVectorContainer.h.

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

Definition at line 159 of file itkVectorContainer.h.

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

Definition at line 165 of file itkVectorContainer.h.

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

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

Definition at line 169 of file itkVectorContainer.h.

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

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

Definition at line 167 of file itkVectorContainer.h.

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

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

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

Definition at line 176 of file itkVectorContainer.h.


Friends And Related Function Documentation

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

Definition at line 181 of file itkVectorContainer.h.


The documentation for this class was generated from the following file:
Generated at Wed Jul 30 11:03:59 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000