VTK  9.3.20240612
Public Types | Public Member Functions | Static Public Attributes | List of all members
vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize > Struct Template Reference

#include <vtkDataArrayTupleRange_AOS.h>

Public Types

using ArrayType = vtkAOSDataArrayTemplate< ValueType >
 
using APIType = GetAPIType< ArrayType >
 
using TupleIteratorType = TupleIterator< ArrayType, TupleSize >
 
using ConstTupleIteratorType = ConstTupleIterator< ArrayType, TupleSize >
 
using TupleReferenceType = TupleReference< ArrayType, TupleSize >
 
using ConstTupleReferenceType = ConstTupleReference< ArrayType, TupleSize >
 
using ComponentIteratorType = APIType *
 
using ConstComponentIteratorType = APIType const *
 
using ComponentReferenceType = APIType &
 
using ConstComponentReferenceType = const APIType &
 
using ComponentType = APIType
 
using size_type = TupleIdType
 
using iterator = TupleIteratorType
 
using const_iterator = ConstTupleIteratorType
 
using reference = TupleReferenceType
 
using const_reference = ConstTupleReferenceType
 

Public Member Functions

VTK_ITER_INLINE TupleRange () noexcept=default
 
VTK_ITER_INLINE TupleRange (ArrayType *arr, TupleIdType beginTuple, TupleIdType endTuple) noexcept
 
VTK_ITER_INLINE TupleRange GetSubRange (TupleIdType beginTuple=0, TupleIdType endTuple=-1) const noexcept
 
VTK_ITER_INLINE ArrayTypeGetArray () const noexcept
 
VTK_ITER_INLINE ComponentIdType GetTupleSize () const noexcept
 
VTK_ITER_INLINE TupleIdType GetBeginTupleId () const noexcept
 
VTK_ITER_INLINE TupleIdType GetEndTupleId () const 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
 
VTK_ITER_INLINE reference operator[] (size_type i) noexcept
 
VTK_ITER_INLINE const_reference operator[] (size_type i) const noexcept
 
VTK_ITER_INLINE void GetTuple (size_type i, ValueType *tuple) const noexcept
 
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE GetTuple (size_type i, double *tuple) const noexcept
 
VTK_ITER_INLINE void SetTuple (size_type i, const ValueType *tuple) noexcept
 
template<typename VT = ValueType>
std::enable_if<!std::is_same< VT, double >::value >::type VTK_ITER_INLINE SetTuple (size_type i, const double *tuple) noexcept
 

Static Public Attributes

static constexpr ComponentIdType TupleSizeTag = TupleSize
 

Detailed Description

template<typename ValueType, ComponentIdType TupleSize>
struct vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >

Definition at line 878 of file vtkDataArrayTupleRange_AOS.h.

Member Typedef Documentation

◆ ArrayType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ArrayType = vtkAOSDataArrayTemplate<ValueType>

Definition at line 880 of file vtkDataArrayTupleRange_AOS.h.

◆ APIType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::APIType = GetAPIType<ArrayType>

Definition at line 881 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleIteratorType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleIteratorType = TupleIterator<ArrayType, TupleSize>

Definition at line 890 of file vtkDataArrayTupleRange_AOS.h.

◆ ConstTupleIteratorType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ConstTupleIteratorType = ConstTupleIterator<ArrayType, TupleSize>

Definition at line 891 of file vtkDataArrayTupleRange_AOS.h.

◆ TupleReferenceType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleReferenceType = TupleReference<ArrayType, TupleSize>

Definition at line 892 of file vtkDataArrayTupleRange_AOS.h.

◆ ConstTupleReferenceType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ConstTupleReferenceType = ConstTupleReference<ArrayType, TupleSize>

Definition at line 893 of file vtkDataArrayTupleRange_AOS.h.

◆ ComponentIteratorType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ComponentIteratorType = APIType*

Definition at line 894 of file vtkDataArrayTupleRange_AOS.h.

◆ ConstComponentIteratorType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ConstComponentIteratorType = APIType const*

Definition at line 895 of file vtkDataArrayTupleRange_AOS.h.

◆ ComponentReferenceType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ComponentReferenceType = APIType&

Definition at line 896 of file vtkDataArrayTupleRange_AOS.h.

◆ ConstComponentReferenceType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ConstComponentReferenceType = const APIType&

Definition at line 897 of file vtkDataArrayTupleRange_AOS.h.

◆ ComponentType

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::ComponentType = APIType

Definition at line 898 of file vtkDataArrayTupleRange_AOS.h.

◆ size_type

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

Definition at line 900 of file vtkDataArrayTupleRange_AOS.h.

◆ iterator

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::iterator = TupleIteratorType

Definition at line 901 of file vtkDataArrayTupleRange_AOS.h.

◆ const_iterator

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::const_iterator = ConstTupleIteratorType

Definition at line 902 of file vtkDataArrayTupleRange_AOS.h.

◆ reference

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::reference = TupleReferenceType

Definition at line 903 of file vtkDataArrayTupleRange_AOS.h.

◆ const_reference

template<typename ValueType , ComponentIdType TupleSize>
using vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::const_reference = ConstTupleReferenceType

Definition at line 904 of file vtkDataArrayTupleRange_AOS.h.

Constructor & Destructor Documentation

◆ TupleRange() [1/2]

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

◆ TupleRange() [2/2]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleRange ( ArrayType arr,
TupleIdType  beginTuple,
TupleIdType  endTuple 
)
inlinenoexcept

Definition at line 913 of file vtkDataArrayTupleRange_AOS.h.

Member Function Documentation

◆ GetSubRange()

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleRange vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetSubRange ( TupleIdType  beginTuple = 0,
TupleIdType  endTuple = -1 
) const
inlinenoexcept

Definition at line 925 of file vtkDataArrayTupleRange_AOS.h.

◆ GetArray()

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE ArrayType * vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetArray ( ) const
inlinenoexcept

Definition at line 936 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTupleSize()

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

Definition at line 939 of file vtkDataArrayTupleRange_AOS.h.

◆ GetBeginTupleId()

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetBeginTupleId ( ) const
inlinenoexcept

Definition at line 942 of file vtkDataArrayTupleRange_AOS.h.

◆ GetEndTupleId()

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetEndTupleId ( ) const
inlinenoexcept

Definition at line 948 of file vtkDataArrayTupleRange_AOS.h.

◆ size()

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

Definition at line 954 of file vtkDataArrayTupleRange_AOS.h.

◆ begin() [1/2]

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

Definition at line 962 of file vtkDataArrayTupleRange_AOS.h.

◆ end() [1/2]

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

Definition at line 968 of file vtkDataArrayTupleRange_AOS.h.

◆ begin() [2/2]

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

Definition at line 974 of file vtkDataArrayTupleRange_AOS.h.

◆ end() [2/2]

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

Definition at line 980 of file vtkDataArrayTupleRange_AOS.h.

◆ cbegin()

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

Definition at line 986 of file vtkDataArrayTupleRange_AOS.h.

◆ cend()

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

Definition at line 992 of file vtkDataArrayTupleRange_AOS.h.

◆ operator[]() [1/2]

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

Definition at line 998 of file vtkDataArrayTupleRange_AOS.h.

◆ operator[]() [2/2]

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

Definition at line 1006 of file vtkDataArrayTupleRange_AOS.h.

◆ GetTuple() [1/2]

template<typename ValueType , ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetTuple ( size_type  i,
ValueType *  tuple 
) const
inlinenoexcept

Definition at line 1013 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::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::GetTuple ( size_type  i,
double *  tuple 
) const
inlinenoexcept

Definition at line 1024 of file vtkDataArrayTupleRange_AOS.h.

◆ SetTuple() [1/2]

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

Definition at line 1035 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::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::SetTuple ( size_type  i,
const double *  tuple 
)
inlinenoexcept

Definition at line 1046 of file vtkDataArrayTupleRange_AOS.h.

Member Data Documentation

◆ TupleSizeTag

template<typename ValueType , ComponentIdType TupleSize>
constexpr ComponentIdType vtk::detail::TupleRange< vtkAOSDataArrayTemplate< ValueType >, TupleSize >::TupleSizeTag = TupleSize
staticconstexpr

Definition at line 907 of file vtkDataArrayTupleRange_AOS.h.


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