VTK  9.1.0
Public Types | 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 Types

using value_type = APIType
 

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 158 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ value_type

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::ComponentReference< ArrayType, TupleSize >::value_type = APIType

Definition at line 168 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 171 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 180 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 201 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 219 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 237 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 244 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 297 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 305 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 313 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 321 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 362 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 321 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentIterator< ArrayType, TupleSize >

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

Definition at line 321 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 262 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 270 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 282 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 289 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 370 of file vtkDataArrayTupleRange_Generic.h.

◆ NumComps

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

Definition at line 371 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleId

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

Definition at line 372 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentId

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

Definition at line 373 of file vtkDataArrayTupleRange_Generic.h.


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