Salome HOME
for DumpStudy new functionnality : SavePY method
authorrahuel <rahuel@opencascade.com>
Fri, 29 Apr 2005 12:59:08 +0000 (12:59 +0000)
committerrahuel <rahuel@opencascade.com>
Fri, 29 Apr 2005 12:59:08 +0000 (12:59 +0000)
idl/SUPERV.idl

index f52bf13bd70a82370e78782fa7570f99a874496b..40196164aa47ed6f5432a796a00da03ff50ef05f 100644 (file)
@@ -227,6 +227,12 @@ This interface contains a set of methods necessary for management of a %graph.
 */
   interface SuperG : Engines::Component, SALOMEDS::Driver {
   ////////////////
+
+//DumpPython is defined in SALOME_Component.idl (SALOMEDS::Driver)
+//    SALOMEDS::TMPFile DumpPython( in SALOMEDS::Study theStudy ,
+//                                  in boolean isPublished ,
+//                                  out boolean isValisScript ) ;
+
 /*!
   Constructs a graph with possibility to read/edit it
   \param aGraph  %aGraphName or %aGraphXmlFile
@@ -827,19 +833,24 @@ This interface includes a set of methods used for management of the graphs in %S
                        in SUPERV::Port InputPort ) ;
 
     /*!
-      Imports a graph into a file with XML format
+      Imports a graph from a file with XML format
       \param anXmlFile String parameter defining the name of the XML file.
       \return True, if the graph has been successfully imported.
     */
     boolean Import( in string anXmlFile ) ;
 
     /*!
-      Exports a graph from a file with XML format
+      Exports a graph to files with XML format and Python format
       \param anXmlFile String parameter defining the name of the XML file.
-      \return True, if the graph has been successfully imported.
+      \return True, if the graph has been successfully exported.
     */
     boolean Export( in string anXmlFile ) ;
     
+    /*!
+      Exports a graph to a string in python format
+    */
+    string SavePY( in boolean importSuperV ) ;
+    
     /*!
       Returns True if the graph is read Only.
     */