ITK
6.0.0
Insight 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 286 of file itkVectorContainer.h.
Public Types | |
using | difference_type = typename VectorConstIterator::difference_type |
using | iterator_category = typename VectorConstIterator::iterator_category |
using | pointer = typename VectorConstIterator::pointer |
using | reference = typename VectorConstIterator::reference |
using | value_type = typename VectorConstIterator::value_type |
Public Member Functions | |
ConstIterator ()=default | |
ConstIterator (const Iterator &r) | |
ConstIterator (size_type d, const VectorConstIterator &i) | |
ElementIdentifier | Index () const |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ConstIterator) | |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Iterator) | |
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 ConstIterator &r) const |
bool | operator== (const Iterator &r) const |
bool | operator> (const ConstIterator &r) const |
bool | operator>= (const ConstIterator &r) const |
const_reference | Value () const |
Private Attributes | |
VectorConstIterator | m_Iter {} |
size_type | m_Pos {} |
Friends | |
class | Iterator |
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::difference_type = typename VectorConstIterator::difference_type |
Definition at line 291 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::iterator_category = typename VectorConstIterator::iterator_category |
Definition at line 289 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::pointer = typename VectorConstIterator::pointer |
Definition at line 292 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::reference = typename VectorConstIterator::reference |
Definition at line 293 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::value_type = typename VectorConstIterator::value_type |
Definition at line 290 of file itkVectorContainer.h.
|
default |
|
inline |
Definition at line 296 of file itkVectorContainer.h.
|
inline |
Definition at line 300 of file itkVectorContainer.h.
|
inline |
Get the index into the VectorContainer associated with this iterator.
Definition at line 406 of file itkVectorContainer.h.
itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | ConstIterator | ) |
itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Iterator | ) |
|
inline |
Definition at line 305 of file itkVectorContainer.h.
|
inline |
Definition at line 315 of file itkVectorContainer.h.
|
inline |
Definition at line 322 of file itkVectorContainer.h.
|
inline |
Definition at line 352 of file itkVectorContainer.h.
|
inline |
Definition at line 360 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 330 of file itkVectorContainer.h.
|
inline |
Definition at line 337 of file itkVectorContainer.h.
|
inline |
Definition at line 310 of file itkVectorContainer.h.
|
inline |
Definition at line 382 of file itkVectorContainer.h.
|
inline |
Definition at line 392 of file itkVectorContainer.h.
|
inline |
Definition at line 345 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter, and itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 374 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 366 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
inline |
Definition at line 387 of file itkVectorContainer.h.
|
inline |
Definition at line 397 of file itkVectorContainer.h.
|
inline |
Get the value at this iterator's location in the VectorContainer.
Definition at line 413 of file itkVectorContainer.h.
|
friend |
Definition at line 421 of file itkVectorContainer.h.
|
private |
Definition at line 420 of file itkVectorContainer.h.
Referenced by itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::operator==(), and itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator==().
|
private |
Definition at line 419 of file itkVectorContainer.h.
Referenced by itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator-().