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

#include <vtkDataArrayValueRange_Generic.h>

Public Types

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

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 > Ref
 

Friends

struct ConstValueIterator< ArrayType, TupleSize >
 
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>
struct vtk::detail::ValueIterator< ArrayType, TupleSize >

Definition at line 671 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 681 of file vtkDataArrayValueRange_Generic.h.

◆ value_type

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

Definition at line 682 of file vtkDataArrayValueRange_Generic.h.

◆ difference_type

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

Definition at line 683 of file vtkDataArrayValueRange_Generic.h.

◆ pointer

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

Definition at line 684 of file vtkDataArrayValueRange_Generic.h.

◆ reference

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

Definition at line 685 of file vtkDataArrayValueRange_Generic.h.

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

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

◆ ValueIterator() [2/3]

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

Definition at line 691 of file vtkDataArrayValueRange_Generic.h.

◆ ValueIterator() [3/3]

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

Member Function Documentation

◆ operator=()

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

Definition at line 701 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

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

Definition at line 709 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [2/2]

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

Definition at line 717 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [1/2]

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

Definition at line 725 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [2/2]

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

Definition at line 733 of file vtkDataArrayValueRange_Generic.h.

◆ operator[]()

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

Definition at line 741 of file vtkDataArrayValueRange_Generic.h.

◆ operator*()

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

Definition at line 747 of file vtkDataArrayValueRange_Generic.h.

◆ operator->()

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

Definition at line 750 of file vtkDataArrayValueRange_Generic.h.

◆ operator+=()

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

Definition at line 771 of file vtkDataArrayValueRange_Generic.h.

◆ operator-=()

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

Definition at line 791 of file vtkDataArrayValueRange_Generic.h.

◆ DebugIdAsserts()

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

Definition at line 826 of file vtkDataArrayValueRange_Generic.h.

◆ GetArray()

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

Definition at line 830 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [1/2]

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

Definition at line 831 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [2/2]

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

Definition at line 832 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Function Documentation

◆ ConstValueIterator< ArrayType, TupleSize >

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

Definition at line 812 of file vtkDataArrayValueRange_Generic.h.

◆ operator+ [1/2]

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

Definition at line 778 of file vtkDataArrayValueRange_Generic.h.

◆ operator+ [2/2]

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

Definition at line 784 of file vtkDataArrayValueRange_Generic.h.

◆ operator- [1/2]

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

Definition at line 798 of file vtkDataArrayValueRange_Generic.h.

◆ operator- [2/2]

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

Definition at line 804 of file vtkDataArrayValueRange_Generic.h.

◆ swap

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

Definition at line 812 of file vtkDataArrayValueRange_Generic.h.

Member Data Documentation

◆ Ref

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

Definition at line 834 of file vtkDataArrayValueRange_Generic.h.


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