VTK  9.4.20241014
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > Struct Template Reference

#include <vtkDataArrayValueRange_Generic.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = GetAPIType< ArrayType, ForceValueTypeForVtkDataArray >
 
using difference_type = ValueIdType
 
using pointer = ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
 
using reference = ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
 

Public Member Functions

VTK_ITER_INLINE ValueIterator () noexcept=default
 
VTK_ITER_INLINE ValueIterator (ArrayType *array, IdStorageType id) noexcept
 
VTK_ITER_INLINE ValueIterator (const ValueIterator &o) noexcept=default
 
VTK_ITER_INLINE ValueIteratoroperator= (const ValueIterator &o) noexcept
 
VTK_ITER_INLINE ValueIteratoroperator++ () noexcept
 
VTK_ITER_INLINE ValueIterator operator++ (int) noexcept
 
VTK_ITER_INLINE ValueIteratoroperator-- () noexcept
 
VTK_ITER_INLINE ValueIterator operator-- (int) noexcept
 
VTK_ITER_INLINE reference operator[] (difference_type i) const noexcept
 
VTK_ITER_INLINE reference operator* () const noexcept
 
VTK_ITER_INLINE const pointeroperator-> () const noexcept
 
VTK_ITER_INLINE ValueIteratoroperator+= (difference_type offset) noexcept
 
VTK_ITER_INLINE ValueIteratoroperator-= (difference_type offset) noexcept
 

Protected Member Functions

VTK_ITER_INLINE void DebugIdAsserts () const
 
ArrayType * GetArray () const noexcept
 
IdStorageTypeGetId () noexcept
 
const IdStorageTypeGetId () const noexcept
 

Protected Attributes

ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > Ref
 

Friends

struct ConstValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
 
VTK_ITER_INLINE ValueIterator operator+ (const ValueIterator &it, difference_type offset) noexcept
 
VTK_ITER_INLINE ValueIterator operator+ (difference_type offset, const ValueIterator &it) noexcept
 
VTK_ITER_INLINE ValueIterator operator- (const ValueIterator &it, difference_type offset) noexcept
 
VTK_ITER_INLINE difference_type operator- (const ValueIterator &it1, const ValueIterator &it2) noexcept
 
VTK_ITER_INLINE void swap (ValueIterator &lhs, ValueIterator &rhs) noexcept
 

Detailed Description

template<typename ArrayType, ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray>
struct vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >

Definition at line 695 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::iterator_category = std::random_access_iterator_tag

Definition at line 705 of file vtkDataArrayValueRange_Generic.h.

◆ value_type

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::value_type = GetAPIType<ArrayType, ForceValueTypeForVtkDataArray>

Definition at line 706 of file vtkDataArrayValueRange_Generic.h.

◆ difference_type

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::difference_type = ValueIdType

Definition at line 707 of file vtkDataArrayValueRange_Generic.h.

◆ pointer

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::pointer = ValueReference<ArrayType, TupleSize, ForceValueTypeForVtkDataArray>

Definition at line 708 of file vtkDataArrayValueRange_Generic.h.

◆ reference

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::reference = ValueReference<ArrayType, TupleSize, ForceValueTypeForVtkDataArray>

Definition at line 709 of file vtkDataArrayValueRange_Generic.h.

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueIterator ( )
defaultnoexcept

◆ ValueIterator() [2/3]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueIterator ( ArrayType *  array,
IdStorageType  id 
)
inlinenoexcept

Definition at line 715 of file vtkDataArrayValueRange_Generic.h.

◆ ValueIterator() [3/3]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueIterator ( const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  o)
defaultnoexcept

Member Function Documentation

◆ operator=()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  o)
inlinenoexcept

Definition at line 725 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator++ ( )
inlinenoexcept

Definition at line 733 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator++ ( int  )
inlinenoexcept

Definition at line 741 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-- ( )
inlinenoexcept

Definition at line 749 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-- ( int  )
inlinenoexcept

Definition at line 757 of file vtkDataArrayValueRange_Generic.h.

◆ operator[]()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE reference vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator[] ( difference_type  i) const
inlinenoexcept

Definition at line 765 of file vtkDataArrayValueRange_Generic.h.

◆ operator*()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE reference vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator* ( ) const
inlinenoexcept

Definition at line 771 of file vtkDataArrayValueRange_Generic.h.

◆ operator->()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE const pointer & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-> ( ) const
inlinenoexcept

Definition at line 774 of file vtkDataArrayValueRange_Generic.h.

◆ operator+=()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator+= ( difference_type  offset)
inlinenoexcept

Definition at line 795 of file vtkDataArrayValueRange_Generic.h.

◆ operator-=()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-= ( difference_type  offset)
inlinenoexcept

Definition at line 815 of file vtkDataArrayValueRange_Generic.h.

◆ DebugIdAsserts()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE void vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::DebugIdAsserts ( ) const
inlineprotected

Definition at line 850 of file vtkDataArrayValueRange_Generic.h.

◆ GetArray()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
ArrayType * vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::GetArray ( ) const
inlineprotectednoexcept

Definition at line 854 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
IdStorageType & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::GetId ( )
inlineprotectednoexcept

Definition at line 855 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
const IdStorageType & vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::GetId ( ) const
inlineprotectednoexcept

Definition at line 856 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Symbol Documentation

◆ ConstValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
friend struct ConstValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
friend

Definition at line 836 of file vtkDataArrayValueRange_Generic.h.

◆ operator+ [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator operator+ ( const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  it,
difference_type  offset 
)
friend

Definition at line 802 of file vtkDataArrayValueRange_Generic.h.

◆ operator+ [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator operator+ ( difference_type  offset,
const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  it 
)
friend

Definition at line 808 of file vtkDataArrayValueRange_Generic.h.

◆ operator- [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueIterator operator- ( const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  it,
difference_type  offset 
)
friend

Definition at line 822 of file vtkDataArrayValueRange_Generic.h.

◆ operator- [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE difference_type operator- ( const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  it1,
const ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  it2 
)
friend

Definition at line 828 of file vtkDataArrayValueRange_Generic.h.

◆ swap

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE void swap ( ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  lhs,
ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  rhs 
)
friend

Definition at line 836 of file vtkDataArrayValueRange_Generic.h.

Member Data Documentation

◆ Ref

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
ValueReference<ArrayType, TupleSize, ForceValueTypeForVtkDataArray> vtk::detail::ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::Ref
protected

Definition at line 858 of file vtkDataArrayValueRange_Generic.h.


The documentation for this struct was generated from the following file: