8#ifndef OPENFPM_IO_SRC_VTKWRITER_IS_VTK_WRITABLE_HPP_
9#define OPENFPM_IO_SRC_VTKWRITER_IS_VTK_WRITABLE_HPP_
12template<
typename T,
bool is_w>
16 typedef decltype(std::declval<T>().get_vtk(0))
type;
31template<
typename ObjType,
typename Sfinae =
void>
39template<
typename ObjType>
47template<
typename ObjType,
typename Sfinae =
void>
51template<typename ObjType, bool has_dims = is_vtk_vector_dims<ObjType>::value >
62template<
typename ObjType >
78template<
typename ObjType>
138 typedef unsigned char base;
164 typedef unsigned short base;
190 typedef unsigned int base;
216 typedef unsigned int base;
it check if the type is vtk writable
it check if the type is vtk writable
check for T to be writable
If it has not dims property defined the object is considered scalar.
void type
non writable vtk property (so void)
decltype(std::declval< T >().get_vtk(0)) type
get the vtk type for the property