From: rahuel Date: Tue, 30 Aug 2005 06:10:07 +0000 (+0000) Subject: Error messages X-Git-Tag: V_3_0_2~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8af5906b9c4e07a24e513640b5d3ba15cff32562;p=modules%2Fsuperv.git Error messages --- diff --git a/src/GraphBase/DataFlowBase_ComputingNode.hxx b/src/GraphBase/DataFlowBase_ComputingNode.hxx index ba8bd6a..76b84f4 100644 --- a/src/GraphBase/DataFlowBase_ComputingNode.hxx +++ b/src/GraphBase/DataFlowBase_ComputingNode.hxx @@ -252,6 +252,8 @@ namespace GraphBase { << _ConnectedInPortsNumber+1 << endl ; _ConnectedInPortsNumber++ ; } ; void DecrConnectedInPortsNumber() { + cdebug << "ComputingNode::DecrConnectedInPortsNumber " << Name() << " -> " + << _ConnectedInPortsNumber-1 << endl ; _ConnectedInPortsNumber-- ; } ; int ConnectedInPortsNumber() const { return _ConnectedInPortsNumber ; } ; @@ -270,12 +272,16 @@ namespace GraphBase { } 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 ;