4#ifndef vtkConstantImplicitBackend_h
5#define vtkConstantImplicitBackend_h
7#include "vtkCommonCoreModule.h"
31VTK_ABI_NAMESPACE_BEGIN
32template <
typename ValueType>
50 ValueType
operator()(
int vtkNotUsed(index))
const {
return this->Value; }
61#ifdef VTK_CONSTANT_BACKEND_INSTANTIATING
62#define VTK_INSTANTIATE_CONSTANT_BACKEND(ValueType) \
63 VTK_ABI_NAMESPACE_BEGIN \
64 template struct VTKCOMMONCORE_EXPORT vtkConstantImplicitBackend<ValueType>; \
A utility structure serving as a backend for constant implicit arrays.
ValueType operator()(int vtkNotUsed(index)) const
The main call method for the backend.
vtkConstantImplicitBackend(ValueType val)
A non-trivially contructible constructor.
const ValueType Value
The constant value stored in the backend.