+++ /dev/null
-// SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
-//
-// Copyright (C) 2003 CEA/DEN, EDF R&D
-//
-//
-//
-// File : DataFlowBase_GOTONode.hxx
-// Author : Jean Rahuel, CEA
-// Module : SUPERV
-// $Header:
-
-#ifndef _DATAFLOWBASE_GOTONODE_HXX
-#define _DATAFLOWBASE_GOTONODE_HXX
-
-#include "DataFlowBase_InLineNode.hxx"
-
-namespace GraphBase {
-
- class GOTONode : public InLineNode {
-
- private:
-
- InLineNode * _CoupledNode ;
-
- public:
-
- GOTONode() ;
- GOTONode( CORBA::ORB_ptr ORB ,
- SALOME_NamingService* ptrNamingService ,
- const char * FuncName ,
- const SUPERV::ListOfStrings & PythonFunction ,
- const char *NodeName ,
- const SUPERV::KindOfNode akind ,
- const SUPERV::SDate NodeFirstCreation ,
- const SUPERV::SDate NodeLastModification ,
- const char * NodeEditorRelease ,
- const char * NodeAuthor ,
- const char * NodeComment ,
- const bool GeneratedName ,
- const long X ,
- const long Y ,
- int * Graph_prof_debug = NULL ,
- ofstream * Graph_fdebug = NULL ) ;
- virtual ~GOTONode() ;
-
- void CoupledNode( InLineNode * aCoupledNode ) {
-// cdebug << Name() << ".GraphBase::GOTONode::CoupledNode( " ;
-// if ( aCoupledNode ) {
-// cdebug << aCoupledNode->Name() ;
-// }
-// else {
-// cdebug << "NULL" ;
-// }
-// cdebug << " )" << endl ;
- _CoupledNode = aCoupledNode ; } ;
- const InLineNode * CoupledNode() const {
-// cdebug << Name() << ".GraphBase::GOTONode::CoupledNode() --> " ;
-// if ( _CoupledNode ) {
-// cdebug << _CoupledNode->Name() ;
-// }
-// else {
-// cdebug << "NULL" ;
-// }
-// cdebug << endl ;
- return _CoupledNode ; } ;
- InLineNode * CoupledNode() {
-// cdebug << Name() << ".GraphBase::GOTONode::CoupledNode() --> " ;
-// if ( _CoupledNode ) {
-// cdebug << _CoupledNode->Name() ;
-// }
-// else {
-// cdebug << "NULL" ;
-// }
-// cdebug << endl ;
- return _CoupledNode ; } ;
-
-// bool SaveXML(ostream &f , char *Tabs , int X , int Y ) const ;
- bool SaveXML(QDomDocument & Graph , QDomElement & info , int X , int Y ) const ;
-
- bool SavePY(ostream &f , const char * aGraphName , int X , int Y ) const ;
-
- };
-
-};
-
-#endif