1 //=============================================================================
2 // File : DataFlowBase_GOTONode.hxx
4 // Author : Jean Rahuel, CEA
7 //=============================================================================
9 #ifndef _DATAFLOWBASE_GOTONODE_HXX
10 #define _DATAFLOWBASE_GOTONODE_HXX
12 #include "DataFlowBase_InLineNode.hxx"
16 class GOTONode : public InLineNode {
20 InLineNode * _CoupledNode ;
25 GOTONode( CORBA::ORB_ptr ORB ,
26 SALOME_NamingService* ptrNamingService ,
27 const char * FuncName ,
28 const SUPERV::ListOfStrings & PythonFunction ,
29 const char *NodeName ,
30 const SUPERV::KindOfNode akind ,
31 const SUPERV::SDate NodeFirstCreation ,
32 const SUPERV::SDate NodeLastModification ,
33 const char * NodeEditorRelease ,
34 const char * NodeAuthor ,
35 const char * NodeComment ,
36 const bool GeneratedName ,
39 int * Graph_prof_debug = NULL ,
40 ostream * Graph_fdebug = NULL ) ;
43 void CoupledNode( InLineNode * aCoupledNode ) {
44 cdebug << Name() << ".GraphBase::GOTONode::CoupledNode( " ;
46 cdebug << aCoupledNode->Name() ;
51 cdebug << " )" << endl ;
52 _CoupledNode = aCoupledNode ; } ;
53 const InLineNode * CoupledNode() const {
54 cdebug << Name() << ".GraphBase::GOTONode::CoupledNode() --> " ;
56 cdebug << _CoupledNode->Name() ;
62 return _CoupledNode ; } ;
63 InLineNode * CoupledNode() {
64 cdebug << Name() << ".GraphBase::GOTONode::CoupledNode() --> " ;
66 cdebug << _CoupledNode->Name() ;
72 return _CoupledNode ; } ;
74 // bool SaveXML(ostream &f , char *Tabs , int X , int Y ) const ;
75 bool SaveXML(QDomDocument & Graph , QDomElement & info , int X , int Y ) const ;
77 bool SavePY(ostream &f , const char * aGraphName , int X , int Y ) const ;