Salome HOME
23514: EDF 16031 - SMESH freezes
[modules/smesh.git] / src / DriverMED / DriverMED.hxx
index c2bee4b5fffc31d0994089561437fd4446653fd0..08c4d848d032e3c60f790f69019d5613a4007647 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 // Declarations needed for usage of DriverMED
 
+#include "SMDSAbs_ElementType.hxx"
+#include "SMESH_DriverMED.hxx"
+
 #include <boost/shared_ptr.hpp>
 
 class DriverMED_Family;
 typedef boost::shared_ptr<DriverMED_Family> DriverMED_FamilyPtr;
+
+namespace DriverMED
+{
+  // Implemetation is in DriverMED_W_Field.cxx
+
+  /*
+   * Returns MED element geom type (MED::EGeometrieElement) by SMDS type
+   */
+  MESHDRIVERMED_EXPORT int GetMedGeoType( SMDSAbs_EntityType smdsType );
+  
+  /*
+   * Returns SMDS element geom type by MED type (MED::EGeometrieElement)
+   */
+  MESHDRIVERMED_EXPORT SMDSAbs_EntityType GetSMDSType( int medType );
+}