ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorContainer.h>
Simulate STL-map style const iteration where dereferencing the iterator gives read access to both the index and the value.
Definition at line 217 of file itkVectorContainer.h.
Public Types | |
typedef VectorConstIterator::difference_type | difference_type |
typedef VectorConstIterator::iterator_category | iterator_category |
typedef VectorConstIterator::pointer | pointer |
typedef VectorConstIterator::reference | reference |
typedef VectorConstIterator::value_type | value_type |
Public Member Functions | |
ConstIterator () | |
ConstIterator (size_type d, const VectorConstIterator &i) | |
ConstIterator (const Iterator &r) | |
ElementIdentifier | Index (void) const |
bool | operator!= (const Iterator &r) const |
bool | operator!= (const ConstIterator &r) const |
ConstIterator & | operator* () |
ConstIterator & | operator++ () |
ConstIterator | operator++ (int) |
ConstIterator & | operator+= (difference_type n) |
difference_type | operator- (const ConstIterator &r) const |
ConstIterator & | operator-- () |
ConstIterator | operator-- (int) |
ConstIterator * | operator-> () |
bool | operator< (const ConstIterator &r) const |
bool | operator<= (const ConstIterator &r) const |
ConstIterator & | operator= (const Iterator &r) |
bool | operator== (const Iterator &r) const |
bool | operator== (const ConstIterator &r) const |
bool | operator> (const ConstIterator &r) const |
bool | operator>= (const ConstIterator &r) const |
const Element & | Value (void) const |
Private Attributes | |
VectorConstIterator | m_Iter |
size_type | m_Pos |
Friends | |
class | Iterator |
typedef VectorConstIterator::difference_type itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::difference_type |
Definition at line 222 of file itkVectorContainer.h.
typedef VectorConstIterator::iterator_category itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::iterator_category |
Definition at line 220 of file itkVectorContainer.h.
typedef VectorConstIterator::pointer itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::pointer |
Definition at line 223 of file itkVectorContainer.h.
typedef VectorConstIterator::reference itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::reference |
Definition at line 224 of file itkVectorContainer.h.
typedef VectorConstIterator::value_type itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::value_type |
Definition at line 221 of file itkVectorContainer.h.
|
inline |
Definition at line 226 of file itkVectorContainer.h.
|
inline |
Definition at line 227 of file itkVectorContainer.h.
|
inline |
Definition at line 228 of file itkVectorContainer.h.
|
inline |
Get the index into the VectorContainer associated with this iterator.
Definition at line 252 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 241 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 243 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 229 of file itkVectorContainer.h.
|
inline |
Definition at line 231 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 232 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 236 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 238 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 233 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 234 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 230 of file itkVectorContainer.h.
|
inline |
Definition at line 244 of file itkVectorContainer.h.
|
inline |
Definition at line 246 of file itkVectorContainer.h.
|
inline |
Definition at line 235 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter, itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 240 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 242 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 245 of file itkVectorContainer.h.
|
inline |
Definition at line 247 of file itkVectorContainer.h.
|
inline |
Get the value at this iterator's location in the VectorContainer.
Definition at line 255 of file itkVectorContainer.h.
References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
friend |
Definition at line 260 of file itkVectorContainer.h.
|
private |
Definition at line 259 of file itkVectorContainer.h.
Referenced by itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator!=(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator!=(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator++(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator+=(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator--(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=(), itk::VectorContainer< TElementIdentifier, TElement >::Iterator::operator==(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator==(), and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().
|
private |
Definition at line 258 of file itkVectorContainer.h.
Referenced by itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Index(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator++(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator+=(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator-(), itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator--(), and itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=().