VTK
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, ValueReference< ArrayType, TupleSize >, 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
 
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
 
const VTK_ITER_INLINE referenceoperator* () const noexcept
 
VTK_ITER_INLINE referenceoperator* () noexcept
 
const VTK_ITER_INLINE pointeroperator-> () const noexcept
 
VTK_ITER_INLINE pointeroperator-> () 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
 
VTK_ITER_INLINE bool RefIsValue () const noexcept
 
VTK_ITER_INLINE ArrayType * GetArray () const noexcept
 
VTK_ITER_INLINE ArrayType *& GetArray () noexcept
 
const VTK_ITER_INLINE IdStorageTypeGetId () const noexcept
 
VTK_ITER_INLINE IdStorageTypeGetId () noexcept
 

Protected Attributes

ValueReference< ArrayType, TupleSize > Ref
 

Friends

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 45 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 630 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 631 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 632 of file vtkDataArrayValueRange_Generic.h.

◆ pointer

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

Definition at line 633 of file vtkDataArrayValueRange_Generic.h.

◆ reference

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

Definition at line 634 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 640 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)
inlinenoexcept

Definition at line 649 of file vtkDataArrayValueRange_Generic.h.

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 658 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 668 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 678 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 688 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 698 of file vtkDataArrayValueRange_Generic.h.

◆ operator*() [1/2]

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

Definition at line 716 of file vtkDataArrayValueRange_Generic.h.

◆ operator*() [2/2]

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

Definition at line 722 of file vtkDataArrayValueRange_Generic.h.

◆ operator->() [1/2]

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

Definition at line 728 of file vtkDataArrayValueRange_Generic.h.

◆ operator->() [2/2]

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

Definition at line 734 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 761 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 789 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.

◆ RefIsValue()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE bool vtk::detail::ValueIterator< ArrayType, TupleSize >::RefIsValue ( ) const
inlineprotectednoexcept

Definition at line 839 of file vtkDataArrayValueRange_Generic.h.

◆ GetArray() [1/2]

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

Definition at line 841 of file vtkDataArrayValueRange_Generic.h.

◆ GetArray() [2/2]

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

Definition at line 843 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [1/2]

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

Definition at line 845 of file vtkDataArrayValueRange_Generic.h.

◆ GetId() [2/2]

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

Definition at line 850 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Function Documentation

◆ 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 771 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 780 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 799 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 808 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 852 of file vtkDataArrayValueRange_Generic.h.


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