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

#include <vtkDataArrayTupleRange_Generic.h>

Inherits iterator< std::random_access_iterator_tag, GetAPIType< ArrayType >, ComponentIdType, ComponentReference< ArrayType, TupleSize >, ComponentReference< 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 ComponentIterator (ArrayType *array, NumCompsType numComps, TupleIdType tupleId, ComponentIdType comp) noexcept
 
VTK_ITER_INLINE ComponentIterator (const ComponentIterator &o) noexcept
 
VTK_ITER_INLINE ComponentIteratoroperator= (const ComponentIterator &o) noexcept
 
VTK_ITER_INLINE ComponentIteratoroperator++ () noexcept
 
VTK_ITER_INLINE ComponentIterator operator++ (int) noexcept
 
VTK_ITER_INLINE ComponentIteratoroperator-- () noexcept
 
VTK_ITER_INLINE ComponentIterator operator-- (int) noexcept
 
VTK_ITER_INLINE const referenceoperator* () const noexcept
 
VTK_ITER_INLINE referenceoperator* () noexcept
 
VTK_ITER_INLINE const pointeroperator-> () const noexcept
 
VTK_ITER_INLINE pointeroperator-> () noexcept
 
VTK_ITER_INLINE ComponentIteratoroperator+= (difference_type offset) noexcept
 
VTK_ITER_INLINE ComponentIteratoroperator-= (difference_type offset) noexcept
 

Protected Member Functions

VTK_ITER_INLINE bool RefIsValue () const noexcept
 
VTK_ITER_INLINE ArrayType * GetArray () const noexcept
 
VTK_ITER_INLINE ArrayType *& GetArray () noexcept
 
VTK_ITER_INLINE const NumCompsTypeGetNumComps () const noexcept
 
VTK_ITER_INLINE NumCompsTypeGetNumComps () noexcept
 
VTK_ITER_INLINE const TupleIdTypeGetTupleId () const noexcept
 
VTK_ITER_INLINE TupleIdTypeGetTupleId () noexcept
 
VTK_ITER_INLINE const ComponentIdTypeGetComponentId () const noexcept
 
VTK_ITER_INLINE ComponentIdTypeGetComponentId () noexcept
 

Protected Attributes

ComponentReference< ArrayType, TupleSize > Ref
 

Friends

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

Detailed Description

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

Definition at line 45 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

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

Definition at line 479 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 480 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 481 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 482 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 483 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

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

Definition at line 486 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 503 of file vtkDataArrayTupleRange_Generic.h.

Member Function Documentation

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

Definition at line 511 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 520 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 533 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 544 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 557 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 580 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 586 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 592 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 598 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 629 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 666 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE bool vtk::detail::ComponentIterator< ArrayType, TupleSize >::RefIsValue ( ) const
inlineprotectednoexcept

Definition at line 721 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE ArrayType* vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetArray ( ) const
inlineprotectednoexcept

Definition at line 723 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE ArrayType*& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetArray ( )
inlineprotectednoexcept

Definition at line 725 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const NumCompsType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetNumComps ( ) const
inlineprotectednoexcept

Definition at line 727 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE NumCompsType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetNumComps ( )
inlineprotectednoexcept

Definition at line 732 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const TupleIdType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetTupleId ( ) const
inlineprotectednoexcept

Definition at line 737 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetTupleId ( )
inlineprotectednoexcept

Definition at line 742 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const ComponentIdType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetComponentId ( ) const
inlineprotectednoexcept

Definition at line 744 of file vtkDataArrayTupleRange_Generic.h.

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE ComponentIdType& vtk::detail::ComponentIterator< ArrayType, TupleSize >::GetComponentId ( )
inlineprotectednoexcept

Definition at line 749 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Function Documentation

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

Definition at line 642 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 654 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 679 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 691 of file vtkDataArrayTupleRange_Generic.h.

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

Definition at line 706 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

template<typename ArrayType , ComponentIdType TupleSize>
ComponentReference<ArrayType, TupleSize> vtk::detail::ComponentIterator< ArrayType, TupleSize >::Ref
protected

Definition at line 754 of file vtkDataArrayTupleRange_Generic.h.


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