2 //=============================================================================
3 // File : DataFlowBase_SwitchNode.cxx
5 // Author : Jean Rahuel, CEA
8 //=============================================================================
13 #include "DataFlowBase_SwitchNode.hxx"
15 GraphBase::SwitchNode::SwitchNode() :
16 GraphBase::GOTONode::GOTONode() {
18 cdebug << "GraphBase::SwitchNode::SwitchNode " << this
19 << " _Name " << (void *) Name() << " " << Name() << " _Comment "
20 << (void *) Comment() << " " << Comment() << " " << endl ;
24 GraphBase::SwitchNode::SwitchNode( CORBA::ORB_ptr ORB ,
25 SALOME_NamingService* ptrNamingService ,
26 const char * FuncName ,
27 const SUPERV::ListOfStrings & aPythonFunction ,
28 const char *NodeName ,
29 const SUPERV::KindOfNode akind ,
30 const SUPERV::SDate NodeFirstCreation ,
31 const SUPERV::SDate NodeLastModification ,
32 const char * NodeEditorRelease ,
33 const char * NodeAuthor ,
34 const char * NodeComment ,
35 const bool GeneratedName ,
38 int * Graph_prof_debug ,
39 ostream * Graph_fdebug ) :
40 GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName , aPythonFunction ,
41 NodeName , akind , NodeFirstCreation ,
42 NodeLastModification , NodeEditorRelease ,
43 NodeAuthor , NodeComment , GeneratedName ,
44 X , Y , Graph_prof_debug , Graph_fdebug ) {
46 cdebug_in << "GraphBase::SwitchNode::SwitchNode " << this
47 << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
48 << (void *) Comment() << " " << Comment() << " "
49 << " KindOfNode " << Kind() << " FuncName " << FuncName
50 << " ServiceName " << ServiceName() << " In("
51 << ServiceInParameter().length()
52 << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
54 cdebug_out << "GraphBase::SwitchNode::SwitchNode" << endl;
57 GraphBase::SwitchNode::~SwitchNode() {
58 cdebug << "GraphBase::SwitchNode::~SwitchNode " << this
59 << " _Name " << (void *) Name() << " " << Name() << " _Comment "
60 << (void *) Comment() << " " << Comment() << " " << endl ;
61 // if ( _ComponentName != NULLSTRING )
62 // delete [] _ComponentName ;
64 // delete [] _EditorRelease ;
65 // if ( _Author != NULLSTRING )
66 // delete [] _Author ;
67 // if ( _Computer != FACTORYSERVER )
68 // delete [] _Computer;
69 // if ( _Comment != NULLSTRING )
70 // delete [] _Comment;