4 #ifndef vtkConstantImplicitBackend_h
5 #define vtkConstantImplicitBackend_h
7 #include "vtkCommonCoreModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
32 template <
typename ValueType>
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.