Salome HOME
patch for crash in channel
[modules/hydro.git] / src / HYDROData / HYDROData_Document.h
index 1de23428a08d4be1d53b5148a2df943491a01bd7..b583787ddd8345584f8b24b339212bcc4ee3e663 100644 (file)
@@ -78,10 +78,12 @@ public:
   //! Dump study document to Python script representation.
   //! \param theFileName full name of the file to store
   //! \returns true if document has been successfuly dumped
-  HYDRODATA_EXPORT bool DumpToPython( const QString& theFileName ) const;
+  HYDRODATA_EXPORT bool DumpToPython( const QString& theFileName,
+                                      const bool     theIsMultiFile ) const;
 
   //! Dump model data to Python script representation.
-  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects,
+                                                     const bool           theIsMultiFile ) const;
 
 public:
 
@@ -161,6 +163,7 @@ private:
 
   // Dump objects of type \c theObjectKind to file \c theFile
   bool dumpPartitionToPython( QFile&               theFile,
+                              const bool           theIsMultiFile,
                               MapOfTreatedObjects& theDumpedObjects,
                               const ObjectKind&    theObjectKind ) const;