VTK
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_AOS.h>

Inherits iterator< std::random_access_iterator_tag, TupleReference< ArrayType, TupleSize >, TupleIdType, TupleReference< ArrayType, TupleSize >, TupleReference< 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 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 52 of file vtkDataArrayTupleRange_AOS.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 1475 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

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

Definition at line 1476 of file vtkDataArrayTupleRange_Generic.h.

◆ difference_type

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

Definition at line 1477 of file vtkDataArrayTupleRange_Generic.h.

◆ pointer

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

Definition at line 1478 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

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

Definition at line 1479 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 1485 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 1498 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 1505 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 1515 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 1521 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 1531 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 1537 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 1543 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 1546 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 1569 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 1591 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 1630 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 1632 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 1634 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 1636 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 1638 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 1640 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 1625 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReference< ArrayType, TupleSize >

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

Definition at line 1626 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 1578 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 1584 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 1600 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 1606 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 1615 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 1642 of file vtkDataArrayTupleRange_Generic.h.


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