Salome HOME
23514: EDF 16031 - SMESH freezes
[modules/smesh.git] / src / DriverMED / DriverMED.hxx
index ff1e3c173d96ea03b3f62a989d0513299335ba03..08c4d848d032e3c60f790f69019d5613a4007647 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  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
 
 // 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 );
+}