Salome HOME
Copyright update 2022
[modules/smesh.git] / src / MEDWrapper / MED_Factory.hxx
index 7313da7ec210ce7217ec2581dce697ff349bc14d..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
 {
@@ -37,13 +38,16 @@ namespace MED
   bool GetMEDVersion( const std::string&, int&, int&, int& );
 
   MEDWRAPPER_EXPORT
-  bool CheckCompatibility( const std::string& );
+  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