Salome HOME
0023636: EDF 18217 - Problem wen suppressing CAD
[modules/smesh.git] / src / SMESH_I / SMESH_Mesh_i.hxx
index 7e612be13d6755f2069401ea649c9f4f6a929da5..41bbce48b96c2038c4cc1dfa790cd0bd738cfb1c 100644 (file)
@@ -225,14 +225,21 @@ public:
    *  Consider maximum group name length stored in MED file.
    */
   CORBA::Boolean HasDuplicatedGroupNamesMED();
+
   /*!
    * Return string representation of a MED file version comprising nbDigits
    */
   char* GetVersionString(CORBA::Long minor, CORBA::Short nbDigits);
 
+  /*!
+   *  Return the list of med versions compatibles for write/append,
+   *  encoded in 10*major+minor (for instance, code for med 3.2.1 is 32)
+   */
+  SMESH::long_array* GetMEDVersionsCompatibleForAppend();
+
   void ExportMED( const char*        file,
                   CORBA::Boolean     auto_groups,
-                  CORBA::Long        minor,
+                  CORBA::Long        version,
                   CORBA::Boolean     overwrite,
                   CORBA::Boolean     autoDimension = true) throw (SALOME::SALOME_Exception);
 
@@ -252,7 +259,7 @@ public:
   void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
                        const char*               file,
                        CORBA::Boolean            auto_groups,
-                       CORBA::Long               minor,
+                       CORBA::Long               version,
                        CORBA::Boolean            overwrite,
                        CORBA::Boolean            autoDim,
                        const GEOM::ListOfFields& fields,