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

#include <vtkDataArrayTupleRange_AOS.h>

Public Types

using size_type = ComponentIdType
 
using value_type = APIType
 
using iterator = ValueType *
 
using const_iterator = const ValueType *
 
using reference = ValueType &
 
using const_reference = ValueType const &
 

Public Member Functions

VTK_ITER_INLINE TupleReference () noexcept
 
VTK_ITER_INLINE TupleReference (ValueType *tuple, NumCompsType numComps) noexcept
 
VTK_ITER_INLINE TupleReference (const TupleReference &) noexcept=default
 
VTK_ITER_INLINE TupleReference (TupleReference &&) noexcept=default
 
VTK_ITER_INLINE TupleReferenceoperator-> () noexcept
 
VTK_ITER_INLINE const TupleReferenceoperator-> () const noexcept
 
VTK_ITER_INLINE void GetTuple (volatile APIType *tuple) const noexcept
 
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE GetTuple (volatile double *tuple) const noexcept
 
VTK_ITER_INLINE void SetTuple (const APIType *tuple) noexcept
 
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE SetTuple (const double *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 void CopyReference (const TupleReference &o) noexcept
 

Protected Attributes

ValueType * Tuple
 
NumCompsType NumComps
 

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 ValueType, ComponentIdType TupleSize>
struct vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >

Definition at line 242 of file vtkDataArrayTupleRange_AOS.h.

Member Typedef Documentation

◆ size_type

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

Definition at line 250 of file vtkDataArrayTupleRange_AOS.h.

◆ value_type

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

Definition at line 251 of file vtkDataArrayTupleRange_AOS.h.

◆ iterator

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::iterator = ValueType*

Definition at line 252 of file vtkDataArrayTupleRange_AOS.h.

◆ const_iterator

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::const_iterator = const ValueType*

Definition at line 253 of file vtkDataArrayTupleRange_AOS.h.

◆ reference

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::reference = ValueType&

Definition at line 254 of file vtkDataArrayTupleRange_AOS.h.

◆ const_reference

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::const_reference = ValueType const&

Definition at line 255 of file vtkDataArrayTupleRange_AOS.h.

Constructor & Destructor Documentation

◆ TupleReference() [1/4]

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

Definition at line 258 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleReference() [2/4]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleReference ( ValueType *  tuple,
NumCompsType  numComps 
)
inlinenoexcept

Definition at line 264 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleReference() [3/4]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleReference ( const TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize > &  )
defaultnoexcept

◆ TupleReference() [4/4]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleReference ( TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize > &&  )
defaultnoexcept

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 277 of file vtkDataArrayTupleRange_AOS.h.

◆ operator->() [2/2]

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

Definition at line 279 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple() [1/2]

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

Definition at line 283 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple() [2/2]

template<typename ValueType , ComponentIdType TupleSize>
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetTuple ( volatile double *  tuple) const
inlinenoexcept

Definition at line 302 of file vtkDataArrayTupleRange_AOS.h.

◆ SetTuple() [1/2]

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

Definition at line 315 of file vtkDataArrayTupleRange_AOS.h.

◆ SetTuple() [2/2]

template<typename ValueType , ComponentIdType TupleSize>
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::SetTuple ( const double *  tuple)
inlinenoexcept

Definition at line 327 of file vtkDataArrayTupleRange_AOS.h.

◆ operator=() [1/5]

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

Definition at line 340 of file vtkDataArrayTupleRange_AOS.h.

◆ operator=() [2/5]

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

Definition at line 347 of file vtkDataArrayTupleRange_AOS.h.

◆ operator=() [3/5]

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

Definition at line 363 of file vtkDataArrayTupleRange_AOS.h.

◆ operator=() [4/5]

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

Definition at line 378 of file vtkDataArrayTupleRange_AOS.h.

◆ operator=() [5/5]

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

Definition at line 394 of file vtkDataArrayTupleRange_AOS.h.

◆ operator==() [1/4]

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

Definition at line 410 of file vtkDataArrayTupleRange_AOS.h.

◆ operator==() [2/4]

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

Definition at line 426 of file vtkDataArrayTupleRange_AOS.h.

◆ operator==() [3/4]

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

Definition at line 441 of file vtkDataArrayTupleRange_AOS.h.

◆ operator==() [4/4]

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

Definition at line 457 of file vtkDataArrayTupleRange_AOS.h.

◆ operator!=() [1/2]

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

Definition at line 471 of file vtkDataArrayTupleRange_AOS.h.

◆ operator!=() [2/2]

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

Definition at line 477 of file vtkDataArrayTupleRange_AOS.h.

◆ swap() [1/2]

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

Definition at line 484 of file vtkDataArrayTupleRange_AOS.h.

◆ swap() [2/2]

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

Definition at line 499 of file vtkDataArrayTupleRange_AOS.h.

◆ operator[]() [1/2]

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

Definition at line 520 of file vtkDataArrayTupleRange_AOS.h.

◆ operator[]() [2/2]

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

Definition at line 523 of file vtkDataArrayTupleRange_AOS.h.

◆ fill()

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

Definition at line 526 of file vtkDataArrayTupleRange_AOS.h.

◆ size()

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

Definition at line 529 of file vtkDataArrayTupleRange_AOS.h.

◆ begin() [1/2]

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

Definition at line 532 of file vtkDataArrayTupleRange_AOS.h.

◆ end() [1/2]

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

Definition at line 535 of file vtkDataArrayTupleRange_AOS.h.

◆ begin() [2/2]

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

Definition at line 538 of file vtkDataArrayTupleRange_AOS.h.

◆ end() [2/2]

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

Definition at line 541 of file vtkDataArrayTupleRange_AOS.h.

◆ cbegin()

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

Definition at line 547 of file vtkDataArrayTupleRange_AOS.h.

◆ cend()

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

Definition at line 550 of file vtkDataArrayTupleRange_AOS.h.

◆ CopyReference()

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

Definition at line 560 of file vtkDataArrayTupleRange_AOS.h.

Friends And Related Symbol Documentation

◆ ConstTupleReference< ArrayType, TupleSize >

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

Definition at line 550 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleIterator< ArrayType, TupleSize >

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

Definition at line 550 of file vtkDataArrayTupleRange_AOS.h.

◆ swap [1/2]

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

Definition at line 511 of file vtkDataArrayTupleRange_AOS.h.

◆ swap [2/2]

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

Definition at line 514 of file vtkDataArrayTupleRange_AOS.h.

Member Data Documentation

◆ Tuple

template<typename ValueType , ComponentIdType TupleSize>
ValueType* vtk::detail::TupleReference< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::Tuple
protected

Definition at line 566 of file vtkDataArrayTupleRange_AOS.h.

◆ NumComps

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

Definition at line 567 of file vtkDataArrayTupleRange_AOS.h.


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