mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-15 23:31:27 +05:00
IPAL8742. Remove dependency of SALOMEDSImpl
This commit is contained in:
parent
ed5a757359
commit
c1543b252a
@ -5,7 +5,6 @@ using namespace std;
|
|||||||
#include <TCollection_ExtendedString.hxx>
|
#include <TCollection_ExtendedString.hxx>
|
||||||
#include <TColStd_HSequenceOfAsciiString.hxx>
|
#include <TColStd_HSequenceOfAsciiString.hxx>
|
||||||
#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
|
#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
|
||||||
#include "SALOMEDSImpl_Study.hxx"
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : DumpPython
|
//function : DumpPython
|
||||||
@ -42,8 +41,9 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
|||||||
}
|
}
|
||||||
|
|
||||||
TCollection_AsciiString aScript =
|
TCollection_AsciiString aScript =
|
||||||
SALOMEDSImpl_Study::GetDumpStudyComment("GEOM") + "\n\n" +
|
"### This file is generated by SALOME automatically by dump python funcitonality\n"
|
||||||
_impl->DumpPython(aStudy->StudyId(), aMap, isPublished, isValidScript);
|
"### of GEOM component\n\n";
|
||||||
|
aScript += _impl->DumpPython(aStudy->StudyId(), aMap, isPublished, isValidScript);
|
||||||
|
|
||||||
int aLen = aScript.Length();
|
int aLen = aScript.Length();
|
||||||
unsigned char* aBuffer = new unsigned char[aLen+1];
|
unsigned char* aBuffer = new unsigned char[aLen+1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user