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

#include <vtkDataArrayTupleRange_AOS.h>

Inherits iterator< std::random_access_iterator_tag, TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >, TupleIdType, TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >, TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize > >.

Collaboration diagram for vtk::detail::TupleIterator< vtkAOSDataArrayTemplate< ValueType >, TupleSize >:
[legend]

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 (ValueType *tuple, NumCompsType numComps) 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
 
reference operator* () noexcept
 
pointeroperator-> () noexcept
 
VTK_ITER_INLINE TupleIteratoroperator+= (difference_type offset) noexcept
 
VTK_ITER_INLINE TupleIteratoroperator-= (difference_type offset) noexcept
 

Protected Member Functions

VTK_ITER_INLINE ValueType * GetTuple () const noexcept
 
VTK_ITER_INLINE ValueType *& GetTuple () noexcept
 
VTK_ITER_INLINE NumCompsType GetNumComps () const noexcept
 
VTK_ITER_INLINE NumCompsTypeGetNumComps () noexcept
 

Protected Attributes

TupleReference< ArrayType, TupleSize > Ref
 

Friends

struct ConstTupleIterator< 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 ValueType, ComponentIdType TupleSize>
struct vtk::detail::TupleIterator< vtkAOSDataArrayTemplate< ValueType >, TupleSize >

Definition at line 711 of file vtkDataArrayTupleRange_AOS.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 725 of file vtkDataArrayTupleRange_AOS.h.

◆ value_type

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

Definition at line 726 of file vtkDataArrayTupleRange_AOS.h.

◆ difference_type

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

Definition at line 727 of file vtkDataArrayTupleRange_AOS.h.

◆ pointer

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

Definition at line 728 of file vtkDataArrayTupleRange_AOS.h.

◆ reference

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

Definition at line 729 of file vtkDataArrayTupleRange_AOS.h.

Constructor & Destructor Documentation

◆ TupleIterator() [1/3]

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

◆ TupleIterator() [2/3]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleIterator< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleIterator ( ValueType *  tuple,
NumCompsType  numComps 
)
inlinenoexcept

Definition at line 735 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleIterator() [3/3]

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

Member Function Documentation

◆ operator=()

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

Definition at line 744 of file vtkDataArrayTupleRange_AOS.h.

◆ operator++() [1/2]

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

Definition at line 751 of file vtkDataArrayTupleRange_AOS.h.

◆ operator++() [2/2]

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

Definition at line 758 of file vtkDataArrayTupleRange_AOS.h.

◆ operator--() [1/2]

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

Definition at line 766 of file vtkDataArrayTupleRange_AOS.h.

◆ operator--() [2/2]

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

Definition at line 773 of file vtkDataArrayTupleRange_AOS.h.

◆ operator[]()

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

Definition at line 781 of file vtkDataArrayTupleRange_AOS.h.

◆ operator*()

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

Definition at line 786 of file vtkDataArrayTupleRange_AOS.h.

◆ operator->()

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

Definition at line 788 of file vtkDataArrayTupleRange_AOS.h.

◆ operator+=()

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

Definition at line 807 of file vtkDataArrayTupleRange_AOS.h.

◆ operator-=()

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

Definition at line 826 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple() [1/2]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE ValueType* vtk::detail::TupleIterator< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetTuple ( ) const
inlineprotectednoexcept

Definition at line 856 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple() [2/2]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE ValueType*& vtk::detail::TupleIterator< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetTuple ( )
inlineprotectednoexcept

Definition at line 858 of file vtkDataArrayTupleRange_AOS.h.

◆ GetNumComps() [1/2]

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

Definition at line 860 of file vtkDataArrayTupleRange_AOS.h.

◆ GetNumComps() [2/2]

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

Definition at line 862 of file vtkDataArrayTupleRange_AOS.h.

Friends And Related Function Documentation

◆ ConstTupleIterator< ArrayType, TupleSize >

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

Definition at line 852 of file vtkDataArrayTupleRange_AOS.h.

◆ operator+ [1/2]

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

Definition at line 813 of file vtkDataArrayTupleRange_AOS.h.

◆ operator+ [2/2]

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

Definition at line 819 of file vtkDataArrayTupleRange_AOS.h.

◆ operator- [1/2]

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

Definition at line 832 of file vtkDataArrayTupleRange_AOS.h.

◆ operator- [2/2]

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

Definition at line 838 of file vtkDataArrayTupleRange_AOS.h.

◆ swap

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

Definition at line 845 of file vtkDataArrayTupleRange_AOS.h.

Member Data Documentation

◆ Ref

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

Definition at line 864 of file vtkDataArrayTupleRange_AOS.h.


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