Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implementation of ExportMEDCoupling.
[modules/smesh.git]
/
src
/
MEDWrapper
/
MED_Factory.cxx
diff --git
a/src/MEDWrapper/MED_Factory.cxx
b/src/MEDWrapper/MED_Factory.cxx
index af7285801e58c154cdb13eca308c1276a65cfeac..7d03749e6fe53c9854ce4e04395cf0901813cf18 100644
(file)
--- a/
src/MEDWrapper/MED_Factory.cxx
+++ b/
src/MEDWrapper/MED_Factory.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-183,10
+183,10
@@
namespace MED
if (!CheckCompatibility(fileName)) {
EXCEPTION(std::runtime_error, "Cannot open file '"<<fileName<<"'.");
}
if (!CheckCompatibility(fileName)) {
EXCEPTION(std::runtime_error, "Cannot open file '"<<fileName<<"'.");
}
- return new MED::TWrapper(fileName, false);
+ return new MED::TWrapper(fileName, false
, nullptr
);
}
}
- PWrapper CrWrapperW(const std::string& fileName, int theVersion)
+ PWrapper CrWrapperW(const std::string& fileName, int theVersion
, TFileInternal *tfileInst
)
{
bool isCreated = false;
if (!CheckCompatibility(fileName, true))
{
bool isCreated = false;
if (!CheckCompatibility(fileName, true))
@@
-204,6
+204,6
@@
namespace MED
wantedMajor = theVersion/10;
wantedMinor = theVersion%10;
}
wantedMajor = theVersion/10;
wantedMinor = theVersion%10;
}
- return new MED::TWrapper(fileName, true, wantedMajor, wantedMinor);
+ return new MED::TWrapper(fileName, true,
tfileInst,
wantedMajor, wantedMinor);
}
}
}
}