X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGraphBase%2FDataFlowBase_EndOfSwitchNode.hxx;h=c6ac446fff82a41783298088c9dbfc231a6e9852;hb=bc9b16b66a7a72e7f5ac82ab52d17c201d8bd7bb;hp=93e2599d10b372258434fc874bcf7fc72656f6e7;hpb=d7ba0a395f918e5a5a2a40c5ad00dbf3826103b1;p=modules%2Fsuperv.git diff --git a/src/GraphBase/DataFlowBase_EndOfSwitchNode.hxx b/src/GraphBase/DataFlowBase_EndOfSwitchNode.hxx index 93e2599..c6ac446 100644 --- a/src/GraphBase/DataFlowBase_EndOfSwitchNode.hxx +++ b/src/GraphBase/DataFlowBase_EndOfSwitchNode.hxx @@ -44,19 +44,14 @@ namespace GraphBase { ofstream * Graph_fdebug = NULL ) ; virtual ~EndOfSwitchNode() ; - void InitEndSwitchInPortLinked() { // without StreamInPorts and Default - _EndSwitchInPortLinkedNumber = GetNodeInPortsSize() - DataStreamInPortsNumber() - 1 ; - _SwitchWithGOTO = false ; - int i ; - for ( i = 0 ; i < GetNodeInPortsSize()-1 ; i++ ) { - GetChangeNodeInPort( i )->BranchOfSwitchLinked( false ) ; - } } ; - bool DecrEndSwitchInPortLinked( GraphBase::InPort * anInPort ) ; + void InitEndSwitchInPortLinked() ; + bool DecrEndSwitchInPortLinked( GraphBase::InPort * anInPort , + string & anErrorMessage ) ; void SetSwitchWithGOTO() { _SwitchWithGOTO = true ; } ; bool SwitchWithGOTO() { return _SwitchWithGOTO ; } ; - bool CheckEndSwitchInPortsLinked() ; + bool CheckEndSwitchInPortsLinked( string & anErrorMessage ) ; };