X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDWriter%2FIO%2FVTKToMEDMem.cxx;h=b63989583774f6374859aed57833d2f62c8f9025;hb=4199f10ae1408cd34e7712c5175f57f3b95e1ab9;hp=c3d20a9e3fa336cf555db5a41239f955a213fded;hpb=fd02ec69017eea0146815cb5644cb00e7b2348cd;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDWriter/IO/VTKToMEDMem.cxx b/src/Plugins/MEDWriter/IO/VTKToMEDMem.cxx index c3d20a9e..b6398958 100644 --- a/src/Plugins/MEDWriter/IO/VTKToMEDMem.cxx +++ b/src/Plugins/MEDWriter/IO/VTKToMEDMem.cxx @@ -105,37 +105,7 @@ Fam::Fam(const std::string& name) /////////////////// -template -class MEDFileVTKTraits -{ -public: - typedef void VtkType; - typedef void MCType; -}; - -template<> -class MEDFileVTKTraits -{ -public: - typedef vtkIntArray VtkType; - typedef MEDCoupling::DataArrayInt MCType; -}; - -template<> -class MEDFileVTKTraits -{ -public: - typedef vtkFloatArray VtkType; - typedef MEDCoupling::DataArrayFloat MCType; -}; - -template<> -class MEDFileVTKTraits -{ -public: - typedef vtkDoubleArray VtkType; - typedef MEDCoupling::DataArrayDouble MCType; -}; +#include "VTKMEDTraits.hxx" std::map ComputeMapOfType() {