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

#include <vtkDataArrayTupleRange_Generic.h>

Public Types

using ArrayType = ArrayTypeT
 
using APIType = GetAPIType< ArrayType >
 
using ValueType = APIType
 
using TupleIteratorType = TupleIterator< ArrayType, TupleSize >
 
using ConstTupleIteratorType = ConstTupleIterator< ArrayType, TupleSize >
 
using TupleReferenceType = TupleReference< ArrayType, TupleSize >
 
using ConstTupleReferenceType = ConstTupleReference< ArrayType, TupleSize >
 
using ComponentIteratorType = ComponentIterator< ArrayType, TupleSize >
 
using ConstComponentIteratorType = ConstComponentIterator< ArrayType, TupleSize >
 
using ComponentReferenceType = ComponentReference< ArrayType, TupleSize >
 
using ConstComponentReferenceType = ConstComponentReference< ArrayType, TupleSize >
 
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
 
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (size_type i, ValueType *tuple) const noexcept
 
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (size_type i, ValueType *tuple) const noexcept
 
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (size_type i, double *tuple) const noexcept
 
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE GetTuple (size_type i, double *tuple) const noexcept
 
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE SetTuple (size_type i, const ValueType *tuple) noexcept
 
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE SetTuple (size_type i, const ValueType *tuple) noexcept
 
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE SetTuple (size_type i, const double *tuple) noexcept
 
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&!std::is_same< AT, vtkDataArray >::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 ArrayTypeT, ComponentIdType TupleSize>
struct vtk::detail::TupleRange< ArrayTypeT, TupleSize >

Definition at line 1759 of file vtkDataArrayTupleRange_Generic.h.

Member Typedef Documentation

◆ ArrayType

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

Definition at line 1761 of file vtkDataArrayTupleRange_Generic.h.

◆ APIType

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

Definition at line 1762 of file vtkDataArrayTupleRange_Generic.h.

◆ ValueType

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

Definition at line 1763 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleIteratorType

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

Definition at line 1772 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleIteratorType

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

Definition at line 1773 of file vtkDataArrayTupleRange_Generic.h.

◆ TupleReferenceType

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

Definition at line 1774 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstTupleReferenceType

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

Definition at line 1775 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentIteratorType

template<typename ArrayTypeT , ComponentIdType TupleSize>
using vtk::detail::TupleRange< ArrayTypeT, TupleSize >::ComponentIteratorType = ComponentIterator<ArrayType, TupleSize>

Definition at line 1776 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstComponentIteratorType

template<typename ArrayTypeT , ComponentIdType TupleSize>
using vtk::detail::TupleRange< ArrayTypeT, TupleSize >::ConstComponentIteratorType = ConstComponentIterator<ArrayType, TupleSize>

Definition at line 1777 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentReferenceType

template<typename ArrayTypeT , ComponentIdType TupleSize>
using vtk::detail::TupleRange< ArrayTypeT, TupleSize >::ComponentReferenceType = ComponentReference<ArrayType, TupleSize>

Definition at line 1778 of file vtkDataArrayTupleRange_Generic.h.

◆ ConstComponentReferenceType

template<typename ArrayTypeT , ComponentIdType TupleSize>
using vtk::detail::TupleRange< ArrayTypeT, TupleSize >::ConstComponentReferenceType = ConstComponentReference<ArrayType, TupleSize>

Definition at line 1779 of file vtkDataArrayTupleRange_Generic.h.

◆ ComponentType

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

Definition at line 1780 of file vtkDataArrayTupleRange_Generic.h.

◆ size_type

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

Definition at line 1785 of file vtkDataArrayTupleRange_Generic.h.

◆ iterator

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

Definition at line 1786 of file vtkDataArrayTupleRange_Generic.h.

◆ const_iterator

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

Definition at line 1787 of file vtkDataArrayTupleRange_Generic.h.

◆ reference

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

Definition at line 1788 of file vtkDataArrayTupleRange_Generic.h.

◆ const_reference

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

Definition at line 1789 of file vtkDataArrayTupleRange_Generic.h.

Constructor & Destructor Documentation

◆ TupleRange() [1/2]

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

◆ TupleRange() [2/2]

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

Definition at line 1795 of file vtkDataArrayTupleRange_Generic.h.

Member Function Documentation

◆ GetSubRange()

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

Definition at line 1807 of file vtkDataArrayTupleRange_Generic.h.

◆ GetArray()

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

Definition at line 1816 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTupleSize()

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

Definition at line 1818 of file vtkDataArrayTupleRange_Generic.h.

◆ GetBeginTupleId()

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

Definition at line 1820 of file vtkDataArrayTupleRange_Generic.h.

◆ GetEndTupleId()

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

Definition at line 1822 of file vtkDataArrayTupleRange_Generic.h.

◆ size()

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

Definition at line 1825 of file vtkDataArrayTupleRange_Generic.h.

◆ begin() [1/2]

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

Definition at line 1828 of file vtkDataArrayTupleRange_Generic.h.

◆ end() [1/2]

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

Definition at line 1830 of file vtkDataArrayTupleRange_Generic.h.

◆ begin() [2/2]

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

Definition at line 1833 of file vtkDataArrayTupleRange_Generic.h.

◆ end() [2/2]

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

Definition at line 1835 of file vtkDataArrayTupleRange_Generic.h.

◆ cbegin()

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

Definition at line 1838 of file vtkDataArrayTupleRange_Generic.h.

◆ cend()

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

Definition at line 1840 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]() [1/2]

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

Definition at line 1843 of file vtkDataArrayTupleRange_Generic.h.

◆ operator[]() [2/2]

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

Definition at line 1849 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [1/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::GetTuple ( size_type  i,
ValueType tuple 
) const
inlinenoexcept

Definition at line 1855 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [2/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::GetTuple ( size_type  i,
ValueType tuple 
) const
inlinenoexcept

Definition at line 1862 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [3/4]

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

Definition at line 1871 of file vtkDataArrayTupleRange_Generic.h.

◆ GetTuple() [4/4]

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

Definition at line 1882 of file vtkDataArrayTupleRange_Generic.h.

◆ SetTuple() [1/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::SetTuple ( size_type  i,
const ValueType tuple 
)
inlinenoexcept

Definition at line 1891 of file vtkDataArrayTupleRange_Generic.h.

◆ SetTuple() [2/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::SetTuple ( size_type  i,
const ValueType tuple 
)
inlinenoexcept

Definition at line 1898 of file vtkDataArrayTupleRange_Generic.h.

◆ SetTuple() [3/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::SetTuple ( size_type  i,
const double *  tuple 
)
inlinenoexcept

Definition at line 1907 of file vtkDataArrayTupleRange_Generic.h.

◆ SetTuple() [4/4]

template<typename ArrayTypeT , ComponentIdType TupleSize>
template<typename VT = ValueType, typename AT = ArrayType>
std::enable_if<!std::is_same< VT, double >::value &&!std::is_same< AT, vtkDataArray >::value >::type VTK_ITER_INLINE vtk::detail::TupleRange< ArrayTypeT, TupleSize >::SetTuple ( size_type  i,
const double *  tuple 
)
inlinenoexcept

Definition at line 1918 of file vtkDataArrayTupleRange_Generic.h.

Member Data Documentation

◆ TupleSizeTag

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

Definition at line 1783 of file vtkDataArrayTupleRange_Generic.h.


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