Salome HOME
Copyright update 2022
[modules/smesh.git] / src / MEDWrapper / MED_Factory.hxx
index fe5e0032ce95b60b60600db5c7365d62c707dff1..f7bea5a49401433f0c8f5dfc44822e5ed46f60cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -27,6 +27,7 @@
 #include "MED_Wrapper.hxx"
 
 #include <string>
+#include <vector>
 
 namespace MED
 {
@@ -39,11 +40,14 @@ namespace MED
   MEDWRAPPER_EXPORT
   bool CheckCompatibility( const std::string& , bool isForAppend=false);
 
+  MEDWRAPPER_EXPORT
+  std::vector<int> GetMEDVersionsAppendCompatible();
+
   MEDWRAPPER_EXPORT
   PWrapper CrWrapperR( const std::string& );
 
   MEDWRAPPER_EXPORT
-  PWrapper CrWrapperW( const std::string&, int theMinor=-1 );
+  PWrapper CrWrapperW( const std::string&, int theVersion=-1 , TFileInternal *tfileInst=nullptr );
 }
 
 #endif // MED_Factory_HeaderFile