VTK  9.3.20240612
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 399 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 408 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 409 of file vtkDataArrayTupleRange_Generic.h.

◆ difference_type

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

Definition at line 410 of file vtkDataArrayTupleRange_Generic.h.

◆ pointer

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

Definition at line 411 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

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

Definition at line 412 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 415 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 423 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 439 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 453 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 462 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 469 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 478 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 485 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 491 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 517 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 538 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Symbol 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 525 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 531 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 546 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 552 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 562 of file vtkDataArrayTupleRange_Generic.h.


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