VTK
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
 
const VTK_ITER_INLINE TupleReferenceoperator-> () const noexcept
 
VTK_ITER_INLINE void GetTuple (volatile 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 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 261 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 270 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 271 of file vtkDataArrayTupleRange_AOS.h.

◆ iterator

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

Definition at line 272 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 273 of file vtkDataArrayTupleRange_AOS.h.

◆ reference

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

Definition at line 274 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 275 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 278 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 281 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 294 of file vtkDataArrayTupleRange_AOS.h.

◆ operator->() [2/2]

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

Definition at line 296 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple()

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

Definition at line 300 of file vtkDataArrayTupleRange_AOS.h.

◆ SetTuple()

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

Definition at line 320 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 333 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 343 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 362 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 379 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 398 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 416 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 435 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 452 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 471 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 486 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 494 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 504 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 523 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 549 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 555 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 561 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 567 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 570 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 576 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 582 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 588 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 594 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 600 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 611 of file vtkDataArrayTupleRange_AOS.h.

Friends And Related Function Documentation

◆ ConstTupleReference< ArrayType, TupleSize >

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

Definition at line 605 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleIterator< ArrayType, TupleSize >

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

Definition at line 606 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 536 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 543 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 617 of file vtkDataArrayTupleRange_AOS.h.

◆ NumComps

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

Definition at line 618 of file vtkDataArrayTupleRange_AOS.h.


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