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 ()
 
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 58 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ NumCompsType

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

Definition at line 60 of file vtkDataArrayValueRange_Generic.h.

Constructor & Destructor Documentation

◆ IdStorage() [1/4]

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

Definition at line 63 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 71 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 82 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 93 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 106 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

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

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

◆ operator--() [1/2]

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

Definition at line 166 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 179 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 193 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 200 of file vtkDataArrayValueRange_Generic.h.

◆ AddOffset()

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

Definition at line 208 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleSize()

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

Definition at line 215 of file vtkDataArrayValueRange_Generic.h.

◆ GetTupleId()

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

Definition at line 218 of file vtkDataArrayValueRange_Generic.h.

◆ GetComponentId()

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

Definition at line 221 of file vtkDataArrayValueRange_Generic.h.

◆ GetValueId()

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

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

◆ swap

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

Definition at line 230 of file vtkDataArrayValueRange_Generic.h.


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