#include "vtkDataArrayAccessor.h"
#include "vtkDataArrayMeta.h"
#include <algorithm>
#include <cassert>
#include <iterator>
#include <tuple>
#include <type_traits>
Go to the source code of this file.
◆ VTK_REF_OP_OVERLOADS
#define VTK_REF_OP_OVERLOADS |
( |
|
Op, |
|
|
|
ImplOp |
|
) |
| |
Value: friend VTK_ITER_INLINE ValueReference
operator Op(ValueReference lhs, APIType val)
noexcept \
{ \
const APIType newVal = lhs ImplOp val; \
lhs = newVal; \
return lhs; \
} \
ValueReference lhs, ValueReference val) noexcept \
{ \
const APIType newVal = lhs ImplOp val; \
lhs = newVal; \
return lhs; \
} \
friend
VTK_ITER_INLINE APIType&
operator Op(APIType& lhs, ValueReference val)
noexcept \
{ \
const APIType newVal = lhs ImplOp val; \
lhs = newVal; \
return lhs; \
}
Definition at line 465 of file vtkDataArrayValueRange_Generic.h.
◆ VTK_TMP_MAKE_OPERATOR [1/2]
#define VTK_TMP_MAKE_OPERATOR |
( |
|
OP | ) |
|
Value:
const ConstValueIterator& lhs, const ConstValueIterator& rhs) noexcept \
{ \
VTK_ITER_ASSERT(lhs.Array == rhs.Array, "Mismatched arrays in iterator comparison."); \
return lhs.Id.GetValueId() OP rhs.Id.GetValueId(); \
}
Definition at line 752 of file vtkDataArrayValueRange_Generic.h.
◆ VTK_TMP_MAKE_OPERATOR [2/2]
#define VTK_TMP_MAKE_OPERATOR |
( |
|
OP | ) |
|
Value:
const ValueIterator& lhs, const ValueIterator& rhs) noexcept \
{ \
VTK_ITER_ASSERT( \
lhs.GetArray() == rhs.GetArray(), "Mismatched arrays in iterator comparison."); \
return lhs.GetId().GetValueId() OP rhs.GetId().GetValueId(); \
}
Definition at line 752 of file vtkDataArrayValueRange_Generic.h.