// SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
//
-// Copyright (C) 2003 CEA/DEN, EDF R&D
-//
-//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File : DataFlowBase_ComputingNode.hxx
// Author : Jean Rahuel, CEA
// Module : SUPERV
-// $Header:
#ifndef _DATAFLOWBASE_COMPUTINGNODE_HXX
#define _DATAFLOWBASE_COMPUTINGNODE_HXX
const char * ServiceParameterName ,
char ** aNode , char ** aPort ) ;
- bool IsLinked(const char * ToServiceParameterName ) ;
+ bool IsLinked(const char * ToServiceParameterName, bool isInput ) ; // mkr : PAL8060
bool HasInput(const char * ToServiceParameterName ) ;
GraphBase::SNode * GetInfo() ;
void DelOutDataStreamPort( const char * OutputParameterName ) ;
InDataStreamPort * AddInDataStreamPort( const char * InputParameterName ,
- const SALOME_ModuleCatalog::DataStreamType InputParameterType ,
+ const char * InputParameterType ,
const SALOME_ModuleCatalog::DataStreamDependency aDependency ,
const SUPERV::KindOfPort aKindOfPort ,
int index = -1 ) ;
OutDataStreamPort * AddOutDataStreamPort( const char * OutputParameterName ,
- const SALOME_ModuleCatalog::DataStreamType OutputParameterType ,
+ const char * OutputParameterType ,
const SALOME_ModuleCatalog::DataStreamDependency aDependency ,
const SUPERV::KindOfPort aKindOfPort ,
int index = -1 ) ;
<< _ConnectedInPortsNumber+1 << endl ;
_ConnectedInPortsNumber++ ; } ;
void DecrConnectedInPortsNumber() {
+ cdebug << "ComputingNode::DecrConnectedInPortsNumber " << Name() << " -> "
+ << _ConnectedInPortsNumber-1 << endl ;
_ConnectedInPortsNumber-- ; } ;
int ConnectedInPortsNumber() const {
return _ConnectedInPortsNumber ; } ;
}
return false ; } ;
- bool CheckLoop(GraphBase::LoopNode * aLoopNode ,
- GraphBase::EndOfLoopNode * anEndLoopNode ) const ;
- bool CheckEndLoop(GraphBase::LoopNode * aLoopNode ,
- GraphBase::EndOfLoopNode * anEndLoopNode ) const ;
- bool InitBranchOfSwitchDone( bool AllInit , GraphBase::EndOfSwitchNode * anEndSwitchNode ) ;
- bool CheckSwitch(GraphBase::EndOfSwitchNode * anEndSwitchNode ) ;
+ bool CheckLoop( GraphBase::LoopNode * aLoopNode ,
+ GraphBase::EndOfLoopNode * anEndLoopNode ,
+ string & anErrorMessage ) const ;
+ bool CheckEndLoop( GraphBase::LoopNode * aLoopNode ,
+ GraphBase::EndOfLoopNode * anEndLoopNode ,
+ string & anErrorMessage ) const ;
+ bool InitBranchOfSwitchDone( bool AllInit , GraphBase::EndOfSwitchNode * anEndSwitchNode ,
+ string & anErrorMessage ) ;
+ bool CheckSwitch( GraphBase::EndOfSwitchNode * anEndSwitchNode ,
+ string & anErrorMessage ) ;
// const GraphBase::ListOfParameters * GetListOfParameters() const ;