From: eap Date: Thu, 9 Feb 2012 13:17:49 +0000 (+0000) Subject: 0021375: EDF 1671 SMESH: Dump study of current state X-Git-Tag: V6_5_0a1~145 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4620909a6d8b3eaaeadbcb05a747ae1f1b81194f;p=modules%2Fsmesh.git 0021375: EDF 1671 SMESH: Dump study of current state ConvertScript(const TCollection_AsciiString& theScript, Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod, Resource_DataMapOfAsciiStringAsciiString& theObjectNames, + SALOMEDS::Study_ptr& theStudy, + const bool theHistoricalDump); --- diff --git a/src/SMESH_I/SMESH_PythonDump.hxx b/src/SMESH_I/SMESH_PythonDump.hxx index f641e2983..a4fa33814 100644 --- a/src/SMESH_I/SMESH_PythonDump.hxx +++ b/src/SMESH_I/SMESH_PythonDump.hxx @@ -52,12 +52,16 @@ public: * \param theScript - Input script * \param theEntry2AccessorMethod - The returning method names to access to * objects wrapped with python class + * \param theHistoricalDump - true means to keep all commands, false means + * to exclude commands relating to objects removed from study * \retval TCollection_AsciiString - Convertion result */ static TCollection_AsciiString - ConvertScript(const TCollection_AsciiString& theScript, + ConvertScript(const TCollection_AsciiString& theScript, Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod, - Resource_DataMapOfAsciiStringAsciiString& theObjectNames); + Resource_DataMapOfAsciiStringAsciiString& theObjectNames, + SALOMEDS::Study_ptr& theStudy, + const bool theHistoricalDump); /*! * \brief Return the name of the python file wrapping IDL API