-//=============================================================================
-// 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
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 ,
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 ,
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 ,
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 ,