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

#include <vtkDataArrayTupleRange_Generic.h>

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

Public Types

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

Public Member Functions

VTK_ITER_INLINE ConstTupleReference () noexcept
 
VTK_ITER_INLINE ConstTupleReference (ArrayType *array, NumCompsType numComps, TupleIdType tupleId) noexcept
 
VTK_ITER_INLINE ConstTupleReference (const TupleReference< ArrayType, TupleSize > &o) noexcept
 
VTK_ITER_INLINE ConstTupleReference (const ConstTupleReference &) noexcept=default
 
VTK_ITER_INLINE ConstTupleReference (ConstTupleReference &&) noexcept=default
 
VTK_ITER_INLINE ConstTupleReferenceoperator-> () noexcept
 
VTK_ITER_INLINE const ConstTupleReferenceoperator-> () const noexcept
 
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (APIType *tuple) const noexcept
 
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (APIType *tuple) const noexcept
 
template<typename VT = APIType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (double *tuple) const noexcept
 
template<typename VT = APIType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (double *tuple) const 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 OArrayT , ComponentIdType OSize>
VTK_ITER_INLINE bool operator!= (const ConstTupleReference< OArrayT, OSize > &o) const noexcept
 
VTK_ITER_INLINE const_reference operator[] (size_type i) const noexcept
 
VTK_ITER_INLINE size_type size () const 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 ConstTupleReferenceoperator= (const ConstTupleReference &) noexcept=default
 
VTK_ITER_INLINE const_iterator NewConstIterator (ComponentIdType comp) const noexcept
 
VTK_ITER_INLINE void CopyReference (const ConstTupleReference &o) noexcept
 

Protected Attributes

ArrayType * Array
 
NumCompsType NumComps
 
TupleIdType TupleId
 

Friends

struct ConstTupleIterator< ArrayType, TupleSize >
 

Detailed Description

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

Definition at line 773 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ size_type

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

Definition at line 783 of file vtkDataArrayTupleRange_Generic.h.

◆ value_type

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

Definition at line 784 of file vtkDataArrayTupleRange_Generic.h.

◆ iterator

template<typename ArrayType , ComponentIdType TupleSize>
using vtk::detail::ConstTupleReference< ArrayType, TupleSize >::iterator = ConstComponentIterator<ArrayType, TupleSize>

Definition at line 785 of file vtkDataArrayTupleRange_Generic.h.

◆ const_iterator

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

Definition at line 786 of file vtkDataArrayTupleRange_Generic.h.

◆ const_reference

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

Definition at line 787 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ ConstTupleReference() [1/5]

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

Definition at line 790 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReference() [2/5]

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

Definition at line 797 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReference() [3/5]

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

Definition at line 809 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReference() [4/5]

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

◆ ConstTupleReference() [5/5]

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

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 823 of file vtkDataArrayTupleRange_Generic.h.

◆ operator->() [2/2]

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

Definition at line 825 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [1/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::ConstTupleReference< ArrayType, TupleSize >::GetTuple ( APIType *  tuple) const
inlinenoexcept

Definition at line 829 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [2/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::ConstTupleReference< ArrayType, TupleSize >::GetTuple ( APIType *  tuple) const
inlinenoexcept

Definition at line 838 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [3/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename VT = APIType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::ConstTupleReference< ArrayType, TupleSize >::GetTuple ( double *  tuple) const
inlinenoexcept

Definition at line 849 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [4/4]

template<typename ArrayType , ComponentIdType TupleSize>
template<typename VT = APIType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::ConstTupleReference< ArrayType, TupleSize >::GetTuple ( double *  tuple) const
inlinenoexcept

Definition at line 862 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::ConstTupleReference< ArrayType, TupleSize >::operator== ( const TupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 874 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::ConstTupleReference< ArrayType, TupleSize >::operator== ( const TupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 890 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::ConstTupleReference< ArrayType, TupleSize >::operator== ( const ConstTupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 906 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::ConstTupleReference< ArrayType, TupleSize >::operator== ( const ConstTupleReference< OArrayType, OSize > &  other) const
inlinenoexcept

Definition at line 922 of file vtkDataArrayTupleRange_Generic.h.

◆ operator!=() [1/2]

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

Definition at line 937 of file vtkDataArrayTupleRange_Generic.h.

◆ operator!=() [2/2]

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

Definition at line 943 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]()

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

Definition at line 949 of file vtkDataArrayTupleRange_Generic.h.

◆ size()

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

Definition at line 955 of file vtkDataArrayTupleRange_Generic.h.

◆ begin()

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

Definition at line 958 of file vtkDataArrayTupleRange_Generic.h.

◆ end()

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

Definition at line 960 of file vtkDataArrayTupleRange_Generic.h.

◆ cbegin()

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

Definition at line 963 of file vtkDataArrayTupleRange_Generic.h.

◆ cend()

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

Definition at line 965 of file vtkDataArrayTupleRange_Generic.h.

◆ operator=()

template<typename ArrayType , ComponentIdType TupleSize>
VTK_ITER_INLINE ConstTupleReference & vtk::detail::ConstTupleReference< ArrayType, TupleSize >::operator= ( const ConstTupleReference< ArrayType, TupleSize > &  )
protecteddefaultnoexcept

◆ NewConstIterator()

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

Definition at line 975 of file vtkDataArrayTupleRange_Generic.h.

◆ CopyReference()

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

Definition at line 982 of file vtkDataArrayTupleRange_Generic.h.

Friends And Related Symbol Documentation

◆ ConstTupleIterator< ArrayType, TupleSize >

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

Definition at line 965 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

◆ Array

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

Definition at line 990 of file vtkDataArrayTupleRange_Generic.h.

◆ NumComps

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

Definition at line 991 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleId

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

Definition at line 992 of file vtkDataArrayTupleRange_Generic.h.


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