VTK
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 63 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ NumCompsType

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

Definition at line 65 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 68 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 76 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 85 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 94 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 104 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

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

Definition at line 125 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 138 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [1/2]

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

Definition at line 159 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 172 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 186 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 192 of file vtkDataArrayValueRange_Generic.h.

◆ AddOffset()

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

Definition at line 199 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleSize()

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

Definition at line 206 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleId()

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

Definition at line 209 of file vtkDataArrayValueRange_Generic.h.

◆ GetComponentId()

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

Definition at line 212 of file vtkDataArrayValueRange_Generic.h.

◆ GetValueId()

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

Definition at line 215 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Function Documentation

◆ operator+

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

Definition at line 151 of file vtkDataArrayValueRange_Generic.h.

◆ swap

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

Definition at line 217 of file vtkDataArrayValueRange_Generic.h.


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