ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorContainer.h>
Simulate STL-map style iteration where dereferencing the iterator gives access to both the index and the value.
Definition at line 167 of file itkVectorContainer.h.
Public Member Functions | |
ElementIdentifier | Index (void) const |
Iterator () | |
Iterator (size_type d, const VectorIterator &i) | |
bool | operator!= (const Iterator &r) const |
bool | operator!= (const ConstIterator &r) const |
Iterator & | operator* () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator-- () |
Iterator | operator-- (int) |
Iterator * | operator-> () |
bool | operator== (const Iterator &r) const |
bool | operator== (const ConstIterator &r) const |
Element & | Value (void) const |
Private Attributes | |
VectorIterator | m_Iter |
size_type | m_Pos |
Friends | |
class | ConstIterator |
|
inline |
Definition at line 170 of file itkVectorContainer.h.
|
inline |
Definition at line 171 of file itkVectorContainer.h.
|
inline |
Get the index into the VectorContainer associated with this iterator.
Definition at line 185 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 179 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
inline |
Definition at line 181 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 172 of file itkVectorContainer.h.
|
inline |
Definition at line 174 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 175 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 176 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 177 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 173 of file itkVectorContainer.h.
|
inline |
Definition at line 178 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
inline |
Definition at line 180 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Get the value at this iterator's location in the VectorContainer.
Definition at line 188 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
friend |
Definition at line 193 of file itkVectorContainer.h.
|
private |
Definition at line 192 of file itkVectorContainer.h.
Referenced by itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::ConstIterator(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator!=(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator!=(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator++(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator--(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator==(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator==(), and itk::VectorContainer< TElementIdentifier, TElement >::Iterator::Value().
|
private |
Definition at line 191 of file itkVectorContainer.h.
Referenced by itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::ConstIterator(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::Index(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator++(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator--(), and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=().