// $Header:
using namespace std;
-#include <strstream>
-#include <iostream>
+//#include <sstream>
+//#include <iostream>
#include "DataFlowBase_InLineNode.hxx"
SALOME_NamingService* ptrNamingService ,
const char * aDataFlowName ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) :
+ ofstream * Graph_fdebug ) :
GraphBase::ComputingNode::ComputingNode( ORB , ptrNamingService , aDataFlowName ,
Graph_prof_debug , Graph_fdebug ) {
_PythonFunction = SUPERV::ListOfStrings() ;
const long X ,
const long Y ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) :
+ ofstream * Graph_fdebug ) :
GraphBase::ComputingNode::ComputingNode( ORB , ptrNamingService ,
NodeService ,
NodeName , akind , NodeFirstCreation ,
const long X ,
const long Y ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) :
+ ofstream * Graph_fdebug ) :
GraphBase::ComputingNode::ComputingNode( ORB , ptrNamingService ,
SALOME_ModuleCatalog::Service() ,
NodeName , akind , NodeFirstCreation ,
void GraphBase::InLineNode::SetPythonFunction( const char * FuncName ,
const SUPERV::ListOfStrings & aPythonFunction ) {
int i ;
- cdebug << "GraphBase::InLineNode::PythonFunction length " << aPythonFunction.length()
- << endl ;
+ cdebug << "GraphBase::InLineNode::PythonFunction length " << aPythonFunction.length() ;
+ if ( aPythonFunction.length() == 1 ) {
+ cdebug << " aPythonFunction[ 0 ] '" << aPythonFunction[ 0 ] << "'" ;
+ }
+ cdebug << endl ;
_FuncName = my_strdup( FuncName ) ;
if ( ( aPythonFunction.length() == 0 ) ||
( aPythonFunction.length() == 1 && strlen( aPythonFunction[ 0 ] ) == 0 ) ) {
}
else {
_PythonFunction.length( aPythonFunction.length() ) ;
- for ( i = 0 ; i < aPythonFunction.length() ; i++ ) {
+ for ( i = 0 ; i < (int ) aPythonFunction.length() ; i++ ) {
cdebug << aPythonFunction[ i ] << endl ;
_PythonFunction[ i ] = CORBA::string_dup( aPythonFunction[ i ] ) ;
}