Salome HOME
0023636: EDF 18217 - Problem wen suppressing CAD
[modules/smesh.git] / src / DriverMED / DriverMED_W_SMESHDS_Mesh.h
index 4b63d3cc6e9518eb7d5dec105c0147301a027c79..2b04c05f9fa3326aea7bbf91a6a9b355d5eaf7e4 100644 (file)
@@ -48,9 +48,11 @@ class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
 
   DriverMED_W_SMESHDS_Mesh();
 
-  void SetFile(const std::string& theFileName);
+  void SetFile(const std::string& theFileName, int theVersion=-1);
   void SetAutoDimension(bool toFindOutDimension) { myAutoDimension = toFindOutDimension; }
 
+  static std::string GetVersionString(int theMinor, int theNbDigits=2);
+
   void AddGroupOfNodes();
   void AddGroupOfEdges();
   void AddGroupOfFaces();
@@ -87,6 +89,7 @@ class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
   bool myAutoDimension;
   bool myAddODOnVertices;
   bool myDoAllInGroups;
+  int myVersion;
 };
 
 #endif