From 8af5906b9c4e07a24e513640b5d3ba15cff32562 Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 30 Aug 2005 06:10:07 +0000 Subject: [PATCH] Error messages --- src/GraphBase/DataFlowBase_ComputingNode.hxx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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 ; -- 2.39.2