VTK  9.0.20200704
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>

Inherits iterator< std::random_access_iterator_tag, vtk::GetAPIType< ArrayType >, ValueIdType, ValueReference< ArrayType, TupleSize >, ValueReference< ArrayType, TupleSize > >.

Public Types

using iterator_category = typename Superclass::iterator_category
 
using value_type = typename Superclass::value_type
 
using difference_type = typename Superclass::difference_type
 
using pointer = typename Superclass::pointer
 
using reference = typename Superclass::reference
 

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
 
const VTK_ITER_INLINE 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 48 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 688 of file vtkDataArrayValueRange_Generic.h.

◆ value_type

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

Definition at line 689 of file vtkDataArrayValueRange_Generic.h.

◆ difference_type

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

Definition at line 690 of file vtkDataArrayValueRange_Generic.h.

◆ pointer

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

Definition at line 691 of file vtkDataArrayValueRange_Generic.h.

◆ reference

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

Definition at line 692 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 698 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 708 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 716 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 724 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 732 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 740 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 748 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 754 of file vtkDataArrayValueRange_Generic.h.

◆ operator->()

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

Definition at line 757 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 778 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 798 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 833 of file vtkDataArrayValueRange_Generic.h.

◆ GetArray()

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

Definition at line 837 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [1/2]

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

Definition at line 838 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 839 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 829 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 785 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 791 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 805 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 811 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 819 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 841 of file vtkDataArrayValueRange_Generic.h.


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