VTK  9.4.20241203
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > Struct Template Reference

#include <vtkDataArrayValueRange_Generic.h>

Public Types

using value_type = APIType
 

Public Member Functions

VTK_ITER_INLINE ValueReference () noexcept
 
VTK_ITER_INLINE ValueReference (ArrayType *array, IdStorageType id) noexcept
 
VTK_ITER_INLINE ValueReference (const ValueReference &o) noexcept=default
 
VTK_ITER_INLINE ValueReference (ValueReference &&o) noexcept=default
 
VTK_ITER_INLINE ValueReference operator= (const ValueReference &o) noexcept
 
VTK_ITER_INLINE ValueReference operator= (ValueReference &&o) noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE ValueReference operator= (const ValueReference< OArray, OSize, ForceValueTypeForVtkDataArray > &o) noexcept
 
VTK_ITER_INLINE operator APIType () const noexcept
 
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value, ValueReference >::type VTK_ITER_INLINE operator= (APIType val) noexcept
 
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value, ValueReference >::type VTK_ITER_INLINE operator= (APIType val) noexcept
 
VTK_ITER_INLINE ValueReference operator++ () noexcept
 
VTK_ITER_INLINE APIType operator++ (int) noexcept
 
VTK_ITER_INLINE ValueReference operator-- () noexcept
 
VTK_ITER_INLINE APIType operator-- (int) noexcept
 

Protected Member Functions

template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value, APIType >::type VTK_ITER_INLINE castOperator () const noexcept
 
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value, APIType >::type VTK_ITER_INLINE castOperator () const noexcept
 
void CopyReference (const ValueReference &o) noexcept
 

Protected Attributes

ArrayType * Array
 
IdStorageType Id
 

Friends

struct ConstValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
 
struct ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
 
VTK_ITER_INLINE void swap (ValueReference lhs, ValueReference rhs) noexcept
 
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap (ValueReference lhs, ValueReference< OArray, OSize, ForceValueTypeForVtkDataArray > rhs) noexcept
 
VTK_ITER_INLINE void swap (ValueReference lhs, APIType &rhs) noexcept
 
VTK_ITER_INLINE void swap (APIType &lhs, ValueReference rhs) noexcept
 

Detailed Description

template<typename ArrayType, ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray>
struct vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >

Definition at line 309 of file vtkDataArrayValueRange_Generic.h.

Member Typedef Documentation

◆ value_type

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
using vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::value_type = APIType

Definition at line 319 of file vtkDataArrayValueRange_Generic.h.

Constructor & Destructor Documentation

◆ ValueReference() [1/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueReference ( )
inlinenoexcept

Definition at line 322 of file vtkDataArrayValueRange_Generic.h.

◆ ValueReference() [2/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueReference ( ArrayType *  array,
IdStorageType  id 
)
inlinenoexcept

Definition at line 329 of file vtkDataArrayValueRange_Generic.h.

◆ ValueReference() [3/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueReference ( const ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  o)
defaultnoexcept

◆ ValueReference() [4/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::ValueReference ( ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &&  o)
defaultnoexcept

Member Function Documentation

◆ operator=() [1/5]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueReference vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( const ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  o)
inlinenoexcept

Definition at line 342 of file vtkDataArrayValueRange_Generic.h.

◆ operator=() [2/5]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueReference vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &&  o)
inlinenoexcept

Definition at line 357 of file vtkDataArrayValueRange_Generic.h.

◆ operator=() [3/5]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE ValueReference vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( const ValueReference< OArray, OSize, ForceValueTypeForVtkDataArray > &  o)
inlinenoexcept

Definition at line 372 of file vtkDataArrayValueRange_Generic.h.

◆ operator APIType()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator APIType ( ) const
inlinenoexcept

Definition at line 379 of file vtkDataArrayValueRange_Generic.h.

◆ operator=() [4/5]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value, ValueReference >::type VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( APIType  val)
inlinenoexcept

Definition at line 384 of file vtkDataArrayValueRange_Generic.h.

◆ operator=() [5/5]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value, ValueReference >::type VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator= ( APIType  val)
inlinenoexcept

Definition at line 395 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueReference vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator++ ( )
inlinenoexcept

Definition at line 439 of file vtkDataArrayValueRange_Generic.h.

◆ operator++() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE APIType vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator++ ( int  )
inlinenoexcept

Definition at line 447 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE ValueReference vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-- ( )
inlinenoexcept

Definition at line 455 of file vtkDataArrayValueRange_Generic.h.

◆ operator--() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE APIType vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::operator-- ( int  )
inlinenoexcept

Definition at line 463 of file vtkDataArrayValueRange_Generic.h.

◆ castOperator() [1/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename AT = ArrayType>
std::enable_if< std::is_same< AT, vtkDataArray >::value, APIType >::type VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::castOperator ( ) const
inlineprotectednoexcept

Definition at line 504 of file vtkDataArrayValueRange_Generic.h.

◆ castOperator() [2/2]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename AT = ArrayType>
std::enable_if<!std::is_same< AT, vtkDataArray >::value, APIType >::type VTK_ITER_INLINE vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::castOperator ( ) const
inlineprotectednoexcept

Definition at line 513 of file vtkDataArrayValueRange_Generic.h.

◆ CopyReference()

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
void vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::CopyReference ( const ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray > &  o)
inlineprotectednoexcept

Definition at line 520 of file vtkDataArrayValueRange_Generic.h.

Friends And Related Symbol Documentation

◆ ConstValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
friend struct ConstValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
friend

Definition at line 463 of file vtkDataArrayValueRange_Generic.h.

◆ ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
friend struct ValueIterator< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >
friend

Definition at line 463 of file vtkDataArrayValueRange_Generic.h.

◆ swap [1/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE void swap ( ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >  lhs,
ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >  rhs 
)
friend

Definition at line 403 of file vtkDataArrayValueRange_Generic.h.

◆ swap [2/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
template<typename OArray , ComponentIdType OSize>
VTK_ITER_INLINE void swap ( ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >  lhs,
ValueReference< OArray, OSize, ForceValueTypeForVtkDataArray >  rhs 
)
friend

Definition at line 411 of file vtkDataArrayValueRange_Generic.h.

◆ swap [3/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE void swap ( ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >  lhs,
APIType &  rhs 
)
friend

Definition at line 424 of file vtkDataArrayValueRange_Generic.h.

◆ swap [4/4]

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
VTK_ITER_INLINE void swap ( APIType &  lhs,
ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >  rhs 
)
friend

Definition at line 431 of file vtkDataArrayValueRange_Generic.h.

Member Data Documentation

◆ Array

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
ArrayType* vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::Array
mutableprotected

Definition at line 526 of file vtkDataArrayValueRange_Generic.h.

◆ Id

template<typename ArrayType , ComponentIdType TupleSize, typename ForceValueTypeForVtkDataArray >
IdStorageType vtk::detail::ValueReference< ArrayType, TupleSize, ForceValueTypeForVtkDataArray >::Id
protected

Definition at line 527 of file vtkDataArrayValueRange_Generic.h.


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