VTK  9.4.20241112
Public Types | Public Member Functions | Friends | List of all members
vtk::detail::IdStorage< TupleSize > Struct Template Reference

#include <vtkDataArrayValueRange_Generic.h>

Public Types

using NumCompsType = GenericTupleSize< TupleSize >
 

Public Member Functions

VTK_ITER_INLINE IdStorage () noexcept
 
VTK_ITER_INLINE IdStorage (ValueIdType valueId, NumCompsType numComps) noexcept
 
VTK_ITER_INLINE IdStorage (TupleIdType tupleId, ComponentIdType comp, NumCompsType numComps) noexcept
 
VTK_ITER_INLINE IdStorage (ValueIdType valueId, TupleIdType tupleId, ComponentIdType comp, NumCompsType numComps) noexcept
 
template<typename ArrayType >
VTK_ITER_INLINE void DebugAsserts (ArrayType *array) const noexcept
 
VTK_ITER_INLINE IdStorageoperator++ () noexcept
 
VTK_ITER_INLINE IdStorage operator++ (int) noexcept
 
VTK_ITER_INLINE IdStorageoperator-- () noexcept
 
VTK_ITER_INLINE IdStorage operator-- (int) noexcept
 
VTK_ITER_INLINE ValueIdType Convert (TupleIdType tuple, ComponentIdType comp) const noexcept
 
VTK_ITER_INLINE std::pair< TupleIdType, ComponentIdTypeConvert (ValueIdType value) const noexcept
 
VTK_ITER_INLINE void AddOffset (ValueIdType offset) noexcept
 
VTK_ITER_INLINE ComponentIdType GetTupleSize () const noexcept
 
VTK_ITER_INLINE TupleIdType GetTupleId () const noexcept
 
VTK_ITER_INLINE ComponentIdType GetComponentId () const noexcept
 
VTK_ITER_INLINE ValueIdType GetValueId () const noexcept
 

Friends

VTK_ITER_INLINE IdStorage operator+ (const IdStorage &id, ValueIdType offset) noexcept
 
VTK_ITER_INLINE void swap (IdStorage &lhs, IdStorage &rhs) noexcept
 

Detailed Description

template<ComponentIdType TupleSize>
struct vtk::detail::IdStorage< TupleSize >

Definition at line 49 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ NumCompsType

template<ComponentIdType TupleSize>
using vtk::detail::IdStorage< TupleSize >::NumCompsType = GenericTupleSize<TupleSize>

Definition at line 51 of file vtkDataArrayValueRange_Generic.h.

Constructor & Destructor Documentation

◆ IdStorage() [1/4]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::IdStorage< TupleSize >::IdStorage ( )
inlinenoexcept

Definition at line 54 of file vtkDataArrayValueRange_Generic.h.

◆ IdStorage() [2/4]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::IdStorage< TupleSize >::IdStorage ( ValueIdType  valueId,
NumCompsType  numComps 
)
inlinenoexcept

Definition at line 62 of file vtkDataArrayValueRange_Generic.h.

◆ IdStorage() [3/4]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::IdStorage< TupleSize >::IdStorage ( TupleIdType  tupleId,
ComponentIdType  comp,
NumCompsType  numComps 
)
inlinenoexcept

Definition at line 71 of file vtkDataArrayValueRange_Generic.h.

◆ IdStorage() [4/4]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE vtk::detail::IdStorage< TupleSize >::IdStorage ( ValueIdType  valueId,
TupleIdType  tupleId,
ComponentIdType  comp,
NumCompsType  numComps 
)
inlinenoexcept

Definition at line 80 of file vtkDataArrayValueRange_Generic.h.

Member Function Documentation

◆ DebugAsserts()

template<ComponentIdType TupleSize>
template<typename ArrayType >
VTK_ITER_INLINE void vtk::detail::IdStorage< TupleSize >::DebugAsserts ( ArrayType *  array) const
inlinenoexcept

Definition at line 90 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE IdStorage & vtk::detail::IdStorage< TupleSize >::operator++ ( )
inlinenoexcept

Definition at line 111 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [2/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE IdStorage vtk::detail::IdStorage< TupleSize >::operator++ ( int  )
inlinenoexcept

Definition at line 124 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [1/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE IdStorage & vtk::detail::IdStorage< TupleSize >::operator-- ( )
inlinenoexcept

Definition at line 145 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [2/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE IdStorage vtk::detail::IdStorage< TupleSize >::operator-- ( int  )
inlinenoexcept

Definition at line 158 of file vtkDataArrayValueRange_Generic.h.

◆ Convert() [1/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE ValueIdType vtk::detail::IdStorage< TupleSize >::Convert ( TupleIdType  tuple,
ComponentIdType  comp 
) const
inlinenoexcept

Definition at line 172 of file vtkDataArrayValueRange_Generic.h.

◆ Convert() [2/2]

template<ComponentIdType TupleSize>
VTK_ITER_INLINE std::pair< TupleIdType, ComponentIdType > vtk::detail::IdStorage< TupleSize >::Convert ( ValueIdType  value) const
inlinenoexcept

Definition at line 178 of file vtkDataArrayValueRange_Generic.h.

◆ AddOffset()

template<ComponentIdType TupleSize>
VTK_ITER_INLINE void vtk::detail::IdStorage< TupleSize >::AddOffset ( ValueIdType  offset)
inlinenoexcept

Definition at line 185 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleSize()

template<ComponentIdType TupleSize>
VTK_ITER_INLINE ComponentIdType vtk::detail::IdStorage< TupleSize >::GetTupleSize ( ) const
inlinenoexcept

Definition at line 192 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleId()

template<ComponentIdType TupleSize>
VTK_ITER_INLINE TupleIdType vtk::detail::IdStorage< TupleSize >::GetTupleId ( ) const
inlinenoexcept

Definition at line 195 of file vtkDataArrayValueRange_Generic.h.

◆ GetComponentId()

template<ComponentIdType TupleSize>
VTK_ITER_INLINE ComponentIdType vtk::detail::IdStorage< TupleSize >::GetComponentId ( ) const
inlinenoexcept

Definition at line 198 of file vtkDataArrayValueRange_Generic.h.

◆ GetValueId()

template<ComponentIdType TupleSize>
VTK_ITER_INLINE ValueIdType vtk::detail::IdStorage< TupleSize >::GetValueId ( ) const
inlinenoexcept

Definition at line 201 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Symbol Documentation

◆ operator+

template<ComponentIdType TupleSize>
VTK_ITER_INLINE IdStorage operator+ ( const IdStorage< TupleSize > &  id,
ValueIdType  offset 
)
friend

Definition at line 137 of file vtkDataArrayValueRange_Generic.h.

◆ swap

template<ComponentIdType TupleSize>
VTK_ITER_INLINE void swap ( IdStorage< TupleSize > &  lhs,
IdStorage< TupleSize > &  rhs 
)
friend

Definition at line 203 of file vtkDataArrayValueRange_Generic.h.


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