4#ifndef vtkConstantImplicitBackend_h
5#define vtkConstantImplicitBackend_h
7#include "vtkCommonCoreModule.h"
33VTK_ABI_NAMESPACE_BEGIN
34template <
typename ValueType>
63#if defined(VTK_CONSTANT_BACKEND_INSTANTIATING)
65#define VTK_INSTANTIATE_CONSTANT_BACKEND(ValueType) \
66 VTK_ABI_NAMESPACE_BEGIN \
67 template struct VTKCOMMONCORE_EXPORT vtkConstantImplicitBackend<ValueType>; \
70#elif defined(VTK_USE_EXTERN_TEMPLATE)
72#ifndef VTK_CONSTANT_BACKEND_TEMPLATE_EXTERN
73#define VTK_CONSTANT_BACKEND_TEMPLATE_EXTERN
76#pragma warning(disable : 4910)
78VTK_ABI_NAMESPACE_BEGIN
A utility structure serving as a backend for constant implicit arrays.
ValueType operator()(vtkIdType 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.
#define vtkExternTemplateMacro(decl)
A macro to declare extern templates for all numerical types.