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 ) ;
};