1 // Copyright (C) 2016 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 // Author : Anthony Geay (EDF R&D)
21 #ifndef __MEDLOADERTRAITS_HXX__
22 #define __MEDLOADERTRAITS_HXX__
24 #include "MEDLoaderDefines.hxx"
29 struct MEDLOADER_EXPORT MLFieldTraits
34 class MEDFileFieldMultiTS;
35 class MEDFileField1TS;
36 class MEDFileIntFieldMultiTS;
37 class MEDFileIntField1TS;
38 class MEDFileFloatField1TS;
39 class MEDFileField1TSWithoutSDA;
40 class MEDFileIntField1TSWithoutSDA;
41 class MEDFileFloatField1TSWithoutSDA;
44 struct MEDLOADER_EXPORT MLFieldTraits<double>
46 typedef MEDFileFieldMultiTS FMTSType;
47 typedef MEDFileField1TS F1TSType;
48 typedef MEDFileField1TSWithoutSDA F1TSWSDAType;
52 struct MEDLOADER_EXPORT MLFieldTraits<float>
54 //typedef MEDFileFloatFieldMultiTS FMTSType;
55 typedef MEDFileFloatField1TS F1TSType;
56 typedef MEDFileFloatField1TSWithoutSDA F1TSWSDAType;
60 struct MEDLOADER_EXPORT MLFieldTraits<int>
62 typedef MEDFileIntFieldMultiTS FMTSType;
63 typedef MEDFileIntField1TS F1TSType;
64 typedef MEDFileIntField1TSWithoutSDA F1TSWSDAType;
68 struct MEDLOADER_EXPORT MLMeshTraits
74 class MEDFileCurveLinearMesh;
77 struct MEDLOADER_EXPORT MLMeshTraits<MEDFileUMesh>
79 static const char ClassName[];
83 struct MEDLOADER_EXPORT MLMeshTraits<MEDFileCMesh>
85 static const char ClassName[];
89 struct MEDLOADER_EXPORT MLMeshTraits<MEDFileCurveLinearMesh>
91 static const char ClassName[];