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

#include <vtkDataArrayTupleRange_Generic.h>

Inheritance diagram for vtk::detail::TupleReference< ArrayType, TupleSize >:
[legend]

Public Types

using size_type = ComponentIdType
 
using value_type = APIType
 
using iterator = ComponentIterator< ArrayType, TupleSize >
 
using const_iterator = ConstComponentIterator< ArrayType, TupleSize >
 
using reference = ComponentReference< ArrayType, TupleSize >
 
using const_reference = ConstComponentReference< ArrayType, TupleSize >
 

Public Member Functions

VTK_ITER_INLINE TupleReference () noexcept
 
VTK_ITER_INLINE TupleReference (ArrayType *array, NumCompsType numComps, TupleIdType tupleId) noexcept
 
VTK_ITER_INLINE TupleReference (const TupleReference &)=default
 
VTK_ITER_INLINE TupleReference (TupleReference &&)=default
 
VTK_ITER_INLINE TupleReferenceoperator-> () noexcept
 
VTK_ITER_INLINE const TupleReferenceoperator-> () const noexcept
 
VTK_ITER_INLINE void GetTuple (APIType *tuple) const noexcept
 
VTK_ITER_INLINE void SetTuple (const APIType *tuple) noexcept
 
VTK_ITER_INLINE TupleReferenceoperator= (const TupleReference &other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, TupleReference & > operator= (const TupleReference< OArrayType, OSize > &other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, TupleReference & > operator= (const TupleReference< OArrayType, OSize > &other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, TupleReference & > operator= (const ConstTupleReference< OArrayType, OSize > &other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, TupleReference & > operator= (const ConstTupleReference< OArrayType, OSize > &other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, bool > operator== (const TupleReference< OArrayType, OSize > &other) const noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, bool > operator== (const TupleReference< OArrayType, OSize > &other) const noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, bool > operator== (const ConstTupleReference< OArrayType, OSize > &other) const noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, bool > operator== (const ConstTupleReference< OArrayType, OSize > &other) const noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE bool operator!= (const TupleReference< OArrayType, OSize > &o) const noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE bool operator!= (const ConstTupleReference< OArray, OSize > &o) const noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, void > swap (TupleReference< OArrayType, OSize > other) noexcept
 
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, void > swap (TupleReference< OArrayType, OSize > other) noexcept
 
VTK_ITER_INLINE reference operator[] (size_type i) noexcept
 
VTK_ITER_INLINE const_reference operator[] (size_type i) const noexcept
 
VTK_ITER_INLINE void fill (const value_type &v) noexcept
 
VTK_ITER_INLINE size_type size () const noexcept
 
VTK_ITER_INLINE iterator begin () noexcept
 
VTK_ITER_INLINE iterator end () noexcept
 
VTK_ITER_INLINE const_iterator begin () const noexcept
 
VTK_ITER_INLINE const_iterator end () const noexcept
 
VTK_ITER_INLINE const_iterator cbegin () const noexcept
 
VTK_ITER_INLINE const_iterator cend () const noexcept
 

Protected Member Functions

VTK_ITER_INLINE iterator NewIterator (ComponentIdType comp) const noexcept
 
VTK_ITER_INLINE const_iterator NewConstIterator (ComponentIdType comp) const noexcept
 
VTK_ITER_INLINE void CopyReference (const TupleReference &o) noexcept
 

Protected Attributes

ArrayType * Array
 
NumCompsType NumComps
 
TupleIdType TupleId
 

Friends

struct ConstTupleReference< ArrayType, TupleSize >
 
struct TupleIterator< ArrayType, TupleSize >
 
VTK_ITER_INLINE void swap (TupleReference a, TupleReference b) noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap (TupleReference a, TupleReference< OArray, OSize > b) noexcept
 

Detailed Description

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

Definition at line 943 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ size_type

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< ArrayType, TupleSize >::size_type = ComponentIdType

Definition at line 953 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

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

Definition at line 954 of file vtkDataArrayTupleRange_Generic.h.

◆ iterator

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< ArrayType, TupleSize >::iterator = ComponentIterator<ArrayType, TupleSize>

Definition at line 955 of file vtkDataArrayTupleRange_Generic.h.

◆ const_iterator

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

Definition at line 956 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< ArrayType, TupleSize >::reference = ComponentReference<ArrayType, TupleSize>

Definition at line 957 of file vtkDataArrayTupleRange_Generic.h.

◆ const_reference

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< ArrayType, TupleSize >::const_reference = ConstComponentReference<ArrayType, TupleSize>

Definition at line 958 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ TupleReference() [1/4]

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

Definition at line 961 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleReference() [2/4]

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

Definition at line 968 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleReference() [3/4]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleReference< ArrayType, TupleSize >::TupleReference ( const TupleReference< ArrayType, TupleSize > &  )
default

◆ TupleReference() [4/4]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleReference< ArrayType, TupleSize >::TupleReference ( TupleReference< ArrayType, TupleSize > &&  )
default

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 986 of file vtkDataArrayTupleRange_Generic.h.

◆ operator->() [2/2]

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

Definition at line 988 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::TupleReference< ArrayType, TupleSize >::GetTuple ( APIType *  tuple) const
inlinenoexcept

Definition at line 992 of file vtkDataArrayTupleRange_Generic.h.

◆ SetTuple()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::TupleReference< ArrayType, TupleSize >::SetTuple ( const APIType *  tuple)
inlinenoexcept

Definition at line 1002 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [1/5]

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

Definition at line 1011 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [2/5]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, TupleReference & > vtk::detail::TupleReference< ArrayType, TupleSize >::operator= ( const TupleReference< OArrayType, OSize > &  other)
inlinenoexcept

Definition at line 1019 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [3/5]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, TupleReference & > vtk::detail::TupleReference< ArrayType, TupleSize >::operator= ( const TupleReference< OArrayType, OSize > &  other)
inlinenoexcept

Definition at line 1036 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [4/5]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, TupleReference & > vtk::detail::TupleReference< ArrayType, TupleSize >::operator= ( const ConstTupleReference< OArrayType, OSize > &  other)
inlinenoexcept

Definition at line 1053 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=() [5/5]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, TupleReference & > vtk::detail::TupleReference< ArrayType, TupleSize >::operator= ( const ConstTupleReference< OArrayType, OSize > &  other)
inlinenoexcept

Definition at line 1070 of file vtkDataArrayTupleRange_Generic.h.

◆ operator==() [1/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, bool > vtk::detail::TupleReference< ArrayType, TupleSize >::operator== ( const TupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 1087 of file vtkDataArrayTupleRange_Generic.h.

◆ operator==() [2/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, bool > vtk::detail::TupleReference< ArrayType, TupleSize >::operator== ( const TupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 1103 of file vtkDataArrayTupleRange_Generic.h.

◆ operator==() [3/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, bool > vtk::detail::TupleReference< ArrayType, TupleSize >::operator== ( const ConstTupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 1119 of file vtkDataArrayTupleRange_Generic.h.

◆ operator==() [4/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, bool > vtk::detail::TupleReference< ArrayType, TupleSize >::operator== ( const ConstTupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 1135 of file vtkDataArrayTupleRange_Generic.h.

◆ operator!=() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE bool vtk::detail::TupleReference< ArrayType, TupleSize >::operator!= ( const TupleReference< OArrayType, OSize > &  o) const
inlinenoexcept

Definition at line 1150 of file vtkDataArrayTupleRange_Generic.h.

◆ operator!=() [2/2]

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

Definition at line 1156 of file vtkDataArrayTupleRange_Generic.h.

◆ swap() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfStaticTupleSizes< TupleSize, OSize, void > vtk::detail::TupleReference< ArrayType, TupleSize >::swap ( TupleReference< OArrayType, OSize >  other)
inlinenoexcept

Definition at line 1163 of file vtkDataArrayTupleRange_Generic.h.

◆ swap() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArrayType , ComponentIdType OSize>
VTK_ITER_INLINE EnableIfEitherTupleSizeIsDynamic< TupleSize, OSize, void > vtk::detail::TupleReference< ArrayType, TupleSize >::swap ( TupleReference< OArrayType, OSize >  other)
inlinenoexcept

Definition at line 1179 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE reference vtk::detail::TupleReference< ArrayType, TupleSize >::operator[] ( size_type  i)
inlinenoexcept

Definition at line 1202 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_reference vtk::detail::TupleReference< ArrayType, TupleSize >::operator[] ( size_type  i) const
inlinenoexcept

Definition at line 1208 of file vtkDataArrayTupleRange_Generic.h.

◆ fill()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::TupleReference< ArrayType, TupleSize >::fill ( const value_type v)
inlinenoexcept

Definition at line 1215 of file vtkDataArrayTupleRange_Generic.h.

◆ size()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE size_type vtk::detail::TupleReference< ArrayType, TupleSize >::size ( ) const
inlinenoexcept

Definition at line 1218 of file vtkDataArrayTupleRange_Generic.h.

◆ begin() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE iterator vtk::detail::TupleReference< ArrayType, TupleSize >::begin ( )
inlinenoexcept

Definition at line 1221 of file vtkDataArrayTupleRange_Generic.h.

◆ end() [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE iterator vtk::detail::TupleReference< ArrayType, TupleSize >::end ( )
inlinenoexcept

Definition at line 1223 of file vtkDataArrayTupleRange_Generic.h.

◆ begin() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_iterator vtk::detail::TupleReference< ArrayType, TupleSize >::begin ( ) const
inlinenoexcept

Definition at line 1226 of file vtkDataArrayTupleRange_Generic.h.

◆ end() [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_iterator vtk::detail::TupleReference< ArrayType, TupleSize >::end ( ) const
inlinenoexcept

Definition at line 1228 of file vtkDataArrayTupleRange_Generic.h.

◆ cbegin()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_iterator vtk::detail::TupleReference< ArrayType, TupleSize >::cbegin ( ) const
inlinenoexcept

Definition at line 1231 of file vtkDataArrayTupleRange_Generic.h.

◆ cend()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_iterator vtk::detail::TupleReference< ArrayType, TupleSize >::cend ( ) const
inlinenoexcept

Definition at line 1233 of file vtkDataArrayTupleRange_Generic.h.

◆ NewIterator()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE iterator vtk::detail::TupleReference< ArrayType, TupleSize >::NewIterator ( ComponentIdType  comp) const
inlineprotectednoexcept

Definition at line 1240 of file vtkDataArrayTupleRange_Generic.h.

◆ NewConstIterator()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE const_iterator vtk::detail::TupleReference< ArrayType, TupleSize >::NewConstIterator ( ComponentIdType  comp) const
inlineprotectednoexcept

Definition at line 1247 of file vtkDataArrayTupleRange_Generic.h.

◆ CopyReference()

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

Definition at line 1254 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Function Documentation

◆ ConstTupleReference< ArrayType, TupleSize >

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

Definition at line 1233 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleIterator< ArrayType, TupleSize >

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

Definition at line 1233 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [1/2]

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE void swap ( TupleReference< ArrayType, TupleSize >  a,
TupleReference< ArrayType, TupleSize >  b 
)
friend

Definition at line 1193 of file vtkDataArrayTupleRange_Generic.h.

◆ swap [2/2]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap ( TupleReference< ArrayType, TupleSize >  a,
TupleReference< OArray, OSize >  b 
)
friend

Definition at line 1196 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

◆ Array

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

Definition at line 1262 of file vtkDataArrayTupleRange_Generic.h.

◆ NumComps

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

Definition at line 1263 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleId

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

Definition at line 1264 of file vtkDataArrayTupleRange_Generic.h.


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