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

#include <vtkDataArrayTupleRange_Generic.h>

Inherits iterator< std::random_access_iterator_tag, GetAPIType< ArrayType >, ComponentIdType, void, ConstComponentReference< 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 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 45 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 408 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

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

Definition at line 409 of file vtkDataArrayTupleRange_Generic.h.

◆ difference_type

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

Definition at line 410 of file vtkDataArrayTupleRange_Generic.h.

◆ pointer

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

Definition at line 411 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

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

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 441 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 456 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 466 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 475 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 485 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 494 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 503 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 535 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 565 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 545 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 555 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 575 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 585 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 597 of file vtkDataArrayTupleRange_Generic.h.


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