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 278 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 283 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::iterator_category = typename VectorConstIterator::iterator_category |
Definition at line 281 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::pointer = typename VectorConstIterator::pointer |
Definition at line 284 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::reference = typename VectorConstIterator::reference |
Definition at line 285 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::value_type = typename VectorConstIterator::value_type |
Definition at line 282 of file itkVectorContainer.h.
|
default |
|
inline |
Definition at line 288 of file itkVectorContainer.h.
|
inline |
Definition at line 292 of file itkVectorContainer.h.
|
inline |
Get the index into the VectorContainer associated with this iterator.
Definition at line 390 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 296 of file itkVectorContainer.h.
|
inline |
Definition at line 299 of file itkVectorContainer.h.
|
inline |
Definition at line 306 of file itkVectorContainer.h.
|
inline |
Definition at line 336 of file itkVectorContainer.h.
|
inline |
Definition at line 344 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Pos.
|
inline |
Definition at line 314 of file itkVectorContainer.h.
|
inline |
Definition at line 321 of file itkVectorContainer.h.
|
inline |
Definition at line 297 of file itkVectorContainer.h.
|
inline |
Definition at line 365 of file itkVectorContainer.h.
|
inline |
Definition at line 375 of file itkVectorContainer.h.
|
inline |
Definition at line 329 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 358 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 350 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
inline |
Definition at line 371 of file itkVectorContainer.h.
|
inline |
Definition at line 381 of file itkVectorContainer.h.
|
inline |
Get the value at this iterator's location in the VectorContainer.
Definition at line 397 of file itkVectorContainer.h.
|
friend |
Definition at line 405 of file itkVectorContainer.h.
|
private |
Definition at line 404 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 403 of file itkVectorContainer.h.
Referenced by itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator-().