4 #ifndef vtkConstantImplicitBackend_h
5 #define vtkConstantImplicitBackend_h
7 #include "vtkCommonCoreModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
34 template <
typename ValueType>
61 #endif // vtkConstantImplicitBackend_h
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) // extern and dllexport incompatible
78 VTK_ABI_NAMESPACE_BEGIN
84 #endif // VTK_CONSTANT_IMPLICIT_BACKEND_TEMPLATE_EXTERN
ValueType operator()(int vtkNotUsed(index)) const
The main call method for the backend.
A utility structure serving as a backend for constant implicit arrays.
vtkConstantImplicitBackend(ValueType val)
A non-trivially contructible constructor.
const ValueType Value
The constant value stored in the backend.
vtkExternTemplateMacro(extern template struct VTKCOMMONCORE_EXPORT vtkConstantImplicitBackend)