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

#include <vtkDataArrayTupleRange_Generic.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = TupleReference< ArrayType, TupleSize >
 
using difference_type = TupleIdType
 
using pointer = TupleReference< ArrayType, TupleSize >
 
using reference = TupleReference< ArrayType, TupleSize >
 

Public Member Functions

VTK_ITER_INLINE TupleIterator () noexcept=default
 
VTK_ITER_INLINE TupleIterator (ArrayType *array, NumCompsType numComps, TupleIdType tupleId) noexcept
 
VTK_ITER_INLINE TupleIterator (const TupleIterator &o) noexcept=default
 
VTK_ITER_INLINE TupleIteratoroperator= (const TupleIterator &o) noexcept
 
VTK_ITER_INLINE TupleIteratoroperator++ () noexcept
 
VTK_ITER_INLINE TupleIterator operator++ (int) noexcept
 
VTK_ITER_INLINE TupleIteratoroperator-- () noexcept
 
VTK_ITER_INLINE TupleIterator operator-- (int) noexcept
 
VTK_ITER_INLINE reference operator[] (difference_type i) noexcept
 
VTK_ITER_INLINE reference operator* () noexcept
 
VTK_ITER_INLINE pointeroperator-> () noexcept
 
VTK_ITER_INLINE TupleIteratoroperator+= (difference_type offset) noexcept
 
VTK_ITER_INLINE TupleIteratoroperator-= (difference_type offset) noexcept
 

Protected Member Functions

VTK_ITER_INLINE ArrayType * GetArray () const noexcept
 
VTK_ITER_INLINE ArrayType *& GetArray () noexcept
 
VTK_ITER_INLINE NumCompsType GetNumComps () const noexcept
 
VTK_ITER_INLINE NumCompsTypeGetNumComps () noexcept
 
VTK_ITER_INLINE TupleIdType GetTupleId () const noexcept
 
VTK_ITER_INLINE TupleIdTypeGetTupleId () noexcept
 

Protected Attributes

TupleReference< ArrayType, TupleSize > Ref
 

Friends

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

Detailed Description

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

Definition at line 1454 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 1463 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleIterator< ArrayType, TupleSize >::value_type = TupleReference<ArrayType, TupleSize>

Definition at line 1464 of file vtkDataArrayTupleRange_Generic.h.

◆ difference_type

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleIterator< ArrayType, TupleSize >::difference_type = TupleIdType

Definition at line 1465 of file vtkDataArrayTupleRange_Generic.h.

◆ pointer

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleIterator< ArrayType, TupleSize >::pointer = TupleReference<ArrayType, TupleSize>

Definition at line 1466 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleIterator< ArrayType, TupleSize >::reference = TupleReference<ArrayType, TupleSize>

Definition at line 1467 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ TupleIterator() [1/3]

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

◆ TupleIterator() [2/3]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleIterator< ArrayType, TupleSize >::TupleIterator ( ArrayType *  array,
NumCompsType  numComps,
TupleIdType  tupleId 
)
inlinenoexcept

Definition at line 1473 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleIterator() [3/3]

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

Member Function Documentation

◆ operator=()

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

Definition at line 1486 of file vtkDataArrayTupleRange_Generic.h.

◆ operator++() [1/2]

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

Definition at line 1493 of file vtkDataArrayTupleRange_Generic.h.

◆ operator++() [2/2]

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

Definition at line 1503 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [1/2]

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

Definition at line 1509 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [2/2]

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

Definition at line 1519 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]()

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

Definition at line 1525 of file vtkDataArrayTupleRange_Generic.h.

◆ operator*()

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

Definition at line 1531 of file vtkDataArrayTupleRange_Generic.h.

◆ operator->()

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

Definition at line 1534 of file vtkDataArrayTupleRange_Generic.h.

◆ operator+=()

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

Definition at line 1557 of file vtkDataArrayTupleRange_Generic.h.

◆ operator-=()

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

Definition at line 1579 of file vtkDataArrayTupleRange_Generic.h.

◆ GetArray() [1/2]

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

Definition at line 1618 of file vtkDataArrayTupleRange_Generic.h.

◆ GetArray() [2/2]

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

Definition at line 1620 of file vtkDataArrayTupleRange_Generic.h.

◆ GetNumComps() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE NumCompsType vtk::detail::TupleIterator< ArrayType, TupleSize >::GetNumComps ( ) const
inlineprotectednoexcept

Definition at line 1622 of file vtkDataArrayTupleRange_Generic.h.

◆ GetNumComps() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE NumCompsType & vtk::detail::TupleIterator< ArrayType, TupleSize >::GetNumComps ( )
inlineprotectednoexcept

Definition at line 1624 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTupleId() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType vtk::detail::TupleIterator< ArrayType, TupleSize >::GetTupleId ( ) const
inlineprotectednoexcept

Definition at line 1626 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTupleId() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType & vtk::detail::TupleIterator< ArrayType, TupleSize >::GetTupleId ( )
inlineprotectednoexcept

Definition at line 1628 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Function Documentation

◆ ConstTupleIterator< ArrayType, TupleSize >

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

Definition at line 1603 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReference< ArrayType, TupleSize >

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

Definition at line 1603 of file vtkDataArrayTupleRange_Generic.h.

◆ operator+ [1/2]

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

Definition at line 1566 of file vtkDataArrayTupleRange_Generic.h.

◆ operator+ [2/2]

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

Definition at line 1572 of file vtkDataArrayTupleRange_Generic.h.

◆ operator- [1/2]

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

Definition at line 1588 of file vtkDataArrayTupleRange_Generic.h.

◆ operator- [2/2]

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

Definition at line 1594 of file vtkDataArrayTupleRange_Generic.h.

◆ swap

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

Definition at line 1603 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

◆ Ref

template<typename ArrayType , ComponentIdType TupleSize>
TupleReference<ArrayType, TupleSize> vtk::detail::TupleIterator< ArrayType, TupleSize >::Ref
protected

Definition at line 1630 of file vtkDataArrayTupleRange_Generic.h.


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