ITK
6.0.0
Insight 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 154 of file itkVectorContainer.h.
Public Types | |
using | difference_type = typename VectorIterator::difference_type |
using | iterator_category = typename VectorIterator::iterator_category |
using | pointer = typename VectorIterator::pointer |
using | reference = typename VectorIterator::reference |
using | value_type = typename VectorIterator::value_type |
Public Member Functions | |
ElementIdentifier | Index () const |
Iterator ()=default | |
Iterator (size_type d, const VectorIterator &i) | |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ConstIterator) | |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Iterator) | |
Iterator & | operator* () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator+= (difference_type n) |
difference_type | operator- (const Iterator &r) const |
Iterator & | operator-- () |
Iterator | operator-- (int) |
Iterator * | operator-> () |
bool | operator< (const Iterator &r) const |
bool | operator<= (const Iterator &r) const |
bool | operator== (const ConstIterator &r) const |
bool | operator== (const Iterator &r) const |
bool | operator> (const Iterator &r) const |
bool | operator>= (const Iterator &r) const |
reference | Value () const |
Private Attributes | |
VectorIterator | m_Iter {} |
size_type | m_Pos {} |
Friends | |
class | ConstIterator |
using itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::difference_type = typename VectorIterator::difference_type |
Definition at line 159 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::iterator_category = typename VectorIterator::iterator_category |
Definition at line 157 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::pointer = typename VectorIterator::pointer |
Definition at line 160 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::reference = typename VectorIterator::reference |
Definition at line 161 of file itkVectorContainer.h.
using itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::value_type = typename VectorIterator::value_type |
Definition at line 158 of file itkVectorContainer.h.
|
default |
|
inline |
Definition at line 164 of file itkVectorContainer.h.
|
inline |
Get the index into the VectorContainer associated with this iterator.
Definition at line 255 of file itkVectorContainer.h.
itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | ConstIterator | ) |
itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Iterator | ) |
|
inline |
Definition at line 168 of file itkVectorContainer.h.
|
inline |
Definition at line 171 of file itkVectorContainer.h.
|
inline |
Definition at line 178 of file itkVectorContainer.h.
|
inline |
Definition at line 245 of file itkVectorContainer.h.
|
inline |
Definition at line 202 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Pos.
|
inline |
Definition at line 186 of file itkVectorContainer.h.
|
inline |
Definition at line 193 of file itkVectorContainer.h.
|
inline |
Definition at line 169 of file itkVectorContainer.h.
|
inline |
Definition at line 223 of file itkVectorContainer.h.
|
inline |
Definition at line 238 of file itkVectorContainer.h.
|
inline |
Definition at line 216 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::m_Iter.
|
inline |
Definition at line 208 of file itkVectorContainer.h.
References itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::m_Iter.
|
inline |
Definition at line 229 of file itkVectorContainer.h.
|
inline |
Definition at line 234 of file itkVectorContainer.h.
|
inline |
Get the value at this iterator's location in the VectorContainer.
Definition at line 262 of file itkVectorContainer.h.
|
friend |
Definition at line 270 of file itkVectorContainer.h.
|
private |
Definition at line 269 of file itkVectorContainer.h.
Referenced by itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=(), itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::operator==(), and itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator==().
|
private |
Definition at line 268 of file itkVectorContainer.h.
Referenced by itk::detail::VectorContainer< TElementIdentifier, TElement >::Iterator::operator-(), and itk::detail::VectorContainer< TElementIdentifier, TElement >::ConstIterator::operator=().