class EndOfSwitchNode : public GOTONode {
private:
+
+ int _EndSwitchInPortLinkedNumber ; // For Check from Branches to EndOfSwitch links
+ bool _SwitchWithGOTO ;
public:
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 SetSwitchWithGOTO() {
+ _SwitchWithGOTO = true ; } ;
+ bool SwitchWithGOTO() {
+ return _SwitchWithGOTO ; } ;
+ bool CheckEndSwitchInPortsLinked() ;
+
};
};