Salome HOME
Fix for bug PAL12235 : Init values on input port not retrievable after write/read...
[modules/superv.git] / src / GraphBase / DataFlowBase_InLineNode.hxx
index e818348880fa3f3adf612da43e3596f944e6f9be..d3fdfa31bdf5451139025b30fe88987e5e2f2a1d 100644 (file)
@@ -32,8 +32,9 @@ namespace GraphBase {
       InLineNode( CORBA::ORB_ptr ORB ,
                   SALOME_NamingService* ptrNamingService ,
                   const char * DataFlowName ,
-                  int * Graph_prof_debug = NULL ,
-                  ostream * Graph_fdebug = NULL ) ;
+                  const SUPERV::KindOfNode DataFlowkind ,
+                  int * Graph_prof_debug ,
+                  ofstream * Graph_fdebug ) ;
       InLineNode( CORBA::ORB_ptr ORB ,
                   SALOME_NamingService* ptrNamingService ,
                   const SALOME_ModuleCatalog::Service& NodeService ,
@@ -48,7 +49,7 @@ namespace GraphBase {
                   const long   X ,
                   const long   Y ,
                   int * Graph_prof_debug = NULL ,
-                  ostream * Graph_fdebug = NULL ) ;
+                  ofstream * Graph_fdebug = NULL ) ;
       InLineNode( CORBA::ORB_ptr ORB ,
                   SALOME_NamingService* ptrNamingService ,
                   const char * FuncName ,
@@ -64,7 +65,7 @@ namespace GraphBase {
                   const long   X ,
                   const long   Y ,
                   int * Graph_prof_debug = NULL ,
-                  ostream * Graph_fdebug = NULL ) ;
+                  ofstream * Graph_fdebug = NULL ) ;
       virtual ~InLineNode() ;
 
       void SetPythonFunction( const char * FuncName ,
@@ -72,12 +73,12 @@ namespace GraphBase {
       const SUPERV::ListOfStrings * PythonFunction() const {
                     return &_PythonFunction ; } ;
       char * PyFuncName() const {
-             return my_strdup( _FuncName ) ; } ;
+//JR 17.02.2005 Memory Leak             return my_strdup( _FuncName ) ; } ;
+             return _FuncName ; } ;
       void PyRunMethod( PyObject * MyPyRunMethod ) {
            _MyPyRunMethod = MyPyRunMethod ; } ;
       PyObject * PyRunMethod() {
-        return _MyPyRunMethod ;
-      }
+        return _MyPyRunMethod ; } ;
 
 
 //      bool SaveXML( ostream &f , char *Tabs ,