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

#include <vtkDataArrayTupleRange_Generic.h>

Public Member Functions

VTK_ITER_INLINE ComponentReference () noexcept
 
VTK_ITER_INLINE ComponentReference (ArrayType *array, NumCompsType numComps, TupleIdType tuple, ComponentIdType comp) noexcept
 
VTK_ITER_INLINE ComponentReference (const ComponentReference &o) noexcept=default
 
VTK_ITER_INLINE ComponentReference (ComponentReference &&o) noexcept=default
 
VTK_ITER_INLINE ComponentReference operator= (const ComponentReference &o) noexcept
 
VTK_ITER_INLINE ComponentReference operator= (ComponentReference &&o) noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE ComponentReference operator= (const ComponentReference< OArray, OSize > &o) noexcept
 
VTK_ITER_INLINE operator APIType () const noexcept
 
VTK_ITER_INLINE ComponentReference operator= (APIType val) noexcept
 
VTK_ITER_INLINE ComponentReference operator++ () noexcept
 
VTK_ITER_INLINE APIType operator++ (int) noexcept
 
VTK_ITER_INLINE ComponentReference operator-- () noexcept
 
VTK_ITER_INLINE APIType operator-- (int) noexcept
 

Protected Member Functions

VTK_ITER_INLINE void CopyReference (const ComponentReference &o) noexcept
 

Protected Attributes

ArrayType * Array
 
NumCompsType NumComps
 
TupleIdType TupleId
 
ComponentIdType ComponentId
 

Friends

struct ConstComponentReference< ArrayType, TupleSize >
 
struct ComponentIterator< ArrayType, TupleSize >
 
VTK_ITER_INLINE void swap (ComponentReference lhs, ComponentReference rhs) noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap (ComponentReference lhs, ComponentReference< OArray, OSize > rhs) noexcept
 
VTK_ITER_INLINE void swap (ComponentReference lhs, APIType &rhs) noexcept
 
VTK_ITER_INLINE void swap (APIType &lhs, ComponentReference rhs) noexcept
 

Detailed Description

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

Definition at line 44 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ ComponentReference() [1/4]

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

Definition at line 166 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentReference() [2/4]

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

Definition at line 175 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentReference() [3/4]

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

◆ ComponentReference() [4/4]

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

Member Function Documentation

◆ operator=() [1/4]

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

Definition at line 198 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [2/4]

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

Definition at line 216 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [3/4]

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

Definition at line 236 of file vtkDataArrayTupleRange_Generic.h.

◆ operator APIType()

template<typename ArrayType, ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::ComponentReference< ArrayType, TupleSize >::operator APIType ( ) const
inlinenoexcept

Definition at line 243 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [4/4]

template<typename ArrayType, ComponentIdType TupleSize>
VTK_ITER_INLINE ComponentReference vtk::detail::ComponentReference< ArrayType, TupleSize >::operator= ( APIType  val)
inlinenoexcept

Definition at line 253 of file vtkDataArrayTupleRange_Generic.h.

◆ operator++() [1/2]

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

Definition at line 302 of file vtkDataArrayTupleRange_Generic.h.

◆ operator++() [2/2]

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

Definition at line 310 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [1/2]

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

Definition at line 318 of file vtkDataArrayTupleRange_Generic.h.

◆ operator--() [2/2]

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

Definition at line 326 of file vtkDataArrayTupleRange_Generic.h.

◆ CopyReference()

template<typename ArrayType, ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::ComponentReference< ArrayType, TupleSize >::CopyReference ( const ComponentReference< ArrayType, TupleSize > &  o)
inlineprotectednoexcept

Definition at line 370 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Function Documentation

◆ ConstComponentReference< ArrayType, TupleSize >

template<typename ArrayType, ComponentIdType TupleSize>
friend struct ConstComponentReference< ArrayType, TupleSize >
friend

Definition at line 364 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentIterator< ArrayType, TupleSize >

template<typename ArrayType, ComponentIdType TupleSize>
friend struct ComponentIterator< ArrayType, TupleSize >
friend

Definition at line 365 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [1/4]

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

Definition at line 264 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [2/4]

template<typename ArrayType, ComponentIdType TupleSize>
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap ( ComponentReference< ArrayType, TupleSize >  lhs,
ComponentReference< OArray, OSize >  rhs 
)
friend

Definition at line 273 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [3/4]

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

Definition at line 286 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [4/4]

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

Definition at line 294 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

◆ Array

template<typename ArrayType, ComponentIdType TupleSize>
ArrayType* vtk::detail::ComponentReference< ArrayType, TupleSize >::Array
mutableprotected

Definition at line 378 of file vtkDataArrayTupleRange_Generic.h.

◆ NumComps

template<typename ArrayType, ComponentIdType TupleSize>
NumCompsType vtk::detail::ComponentReference< ArrayType, TupleSize >::NumComps
protected

Definition at line 379 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleId

template<typename ArrayType, ComponentIdType TupleSize>
TupleIdType vtk::detail::ComponentReference< ArrayType, TupleSize >::TupleId
protected

Definition at line 380 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentId

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

Definition at line 381 of file vtkDataArrayTupleRange_Generic.h.


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