*/
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
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.
*/