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

#include <vtkDataArrayTupleRange_Generic.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = GetAPIType< ArrayType >
 
using difference_type = ComponentIdType
 
using pointer = void
 
using reference = ConstComponentReference< ArrayType, TupleSize >
 

Public Member Functions

VTK_ITER_INLINE ConstComponentIterator () noexcept
 
VTK_ITER_INLINE ConstComponentIterator (ArrayType *array, NumCompsType numComps, TupleIdType tupleId, ComponentIdType comp) noexcept
 
VTK_ITER_INLINE ConstComponentIterator (const ComponentIterator< ArrayType, TupleSize > &o) noexcept
 
VTK_ITER_INLINE ConstComponentIterator (const ConstComponentIterator &o) noexcept=default
 
VTK_ITER_INLINE ConstComponentIteratoroperator= (const ConstComponentIterator &o) noexcept=default
 
VTK_ITER_INLINE ConstComponentIteratoroperator++ () noexcept
 
VTK_ITER_INLINE ConstComponentIterator operator++ (int) noexcept
 
VTK_ITER_INLINE ConstComponentIteratoroperator-- () noexcept
 
VTK_ITER_INLINE ConstComponentIterator operator-- (int) noexcept
 
VTK_ITER_INLINE reference operator[] (difference_type i) const noexcept
 
VTK_ITER_INLINE reference operator* () const noexcept
 
VTK_ITER_INLINE ConstComponentIteratoroperator+= (difference_type offset) noexcept
 
VTK_ITER_INLINE ConstComponentIteratoroperator-= (difference_type offset) noexcept
 

Friends

VTK_ITER_INLINE ConstComponentIterator operator+ (const ConstComponentIterator &it, difference_type offset) noexcept
 
VTK_ITER_INLINE ConstComponentIterator operator+ (difference_type offset, const ConstComponentIterator &it) noexcept
 
VTK_ITER_INLINE ConstComponentIterator operator- (const ConstComponentIterator &it, difference_type offset) noexcept
 
VTK_ITER_INLINE difference_type operator- (const ConstComponentIterator &it1, const ConstComponentIterator &it2) noexcept
 
VTK_ITER_INLINE void swap (ConstComponentIterator &lhs, ConstComponentIterator &rhs) noexcept
 

Detailed Description

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

Definition at line 379 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 388 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::ConstComponentIterator< ArrayType, TupleSize >::value_type = GetAPIType<ArrayType>

Definition at line 389 of file vtkDataArrayTupleRange_Generic.h.

◆ difference_type

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

Definition at line 390 of file vtkDataArrayTupleRange_Generic.h.

◆ pointer

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::ConstComponentIterator< ArrayType, TupleSize >::pointer = void

Definition at line 391 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::ConstComponentIterator< ArrayType, TupleSize >::reference = ConstComponentReference<ArrayType, TupleSize>

Definition at line 392 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ ConstComponentIterator() [1/4]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::ConstComponentIterator< ArrayType, TupleSize >::ConstComponentIterator ( )
inlinenoexcept

Definition at line 395 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstComponentIterator() [2/4]

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

Definition at line 403 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstComponentIterator() [3/4]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::ConstComponentIterator< ArrayType, TupleSize >::ConstComponentIterator ( const ComponentIterator< ArrayType, TupleSize > &  o)
inlinenoexcept

Definition at line 419 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstComponentIterator() [4/4]

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

Member Function Documentation

◆ operator=()

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

◆ operator++() [1/2]

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

Definition at line 433 of file vtkDataArrayTupleRange_Generic.h.

◆ operator++() [2/2]

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

Definition at line 442 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [1/2]

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

Definition at line 449 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [2/2]

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

Definition at line 458 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]()

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

Definition at line 465 of file vtkDataArrayTupleRange_Generic.h.

◆ operator*()

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

Definition at line 471 of file vtkDataArrayTupleRange_Generic.h.

◆ operator+=()

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

Definition at line 497 of file vtkDataArrayTupleRange_Generic.h.

◆ operator-=()

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

Definition at line 518 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Function Documentation

◆ operator+ [1/2]

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

Definition at line 505 of file vtkDataArrayTupleRange_Generic.h.

◆ operator+ [2/2]

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

Definition at line 511 of file vtkDataArrayTupleRange_Generic.h.

◆ operator- [1/2]

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

Definition at line 526 of file vtkDataArrayTupleRange_Generic.h.

◆ operator- [2/2]

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

Definition at line 532 of file vtkDataArrayTupleRange_Generic.h.

◆ swap

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

Definition at line 542 of file vtkDataArrayTupleRange_Generic.h.


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