Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / GraphBase / DataFlowBase_InLineNode.hxx
index c2d7345c1147909aae0fc919f75ed3f3ed23072e..d3fdfa31bdf5451139025b30fe88987e5e2f2a1d 100644 (file)
@@ -1,10 +1,13 @@
-//=============================================================================
-// File      : DataFlowBase_InLineNode.hxx
-// Created   : 2003
-// Author    : Jean Rahuel, CEA
-// Project   : SALOME
-// $Header:
-//=============================================================================
+//  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
+//
+//  Copyright (C) 2003  CEA/DEN, EDF R&D
+//
+//
+//
+//  File   : DataFlowBase_InLineNode.hxx
+//  Author : Jean Rahuel, CEA
+//  Module : SUPERV
+//  $Header:
 
 #ifndef _DATAFLOWBASE_INLINENODE_HXX
 #define _DATAFLOWBASE_INLINENODE_HXX
@@ -29,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 ,
@@ -45,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 ,
@@ -61,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 ,
@@ -69,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 ,