Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / GraphBase / DataFlowBase_InPort.cxx
index 9f8f7b5e377c5f3cedbbc2dba17be941f6d07e86..7e0dedb1f4c6887fa615d23a6c6aa63d271ac590 100644 (file)
@@ -34,7 +34,7 @@ char ** _PortStateName ;
 
 GraphBase::InPort::InPort() :
            Port() {
-  _State = SUPERV::UndefinedState ;
+  _PortState = SUPERV::UndefinedState ;
   _OutPort = NULL ;
   _InitialOutPort = NULL ;
 }
@@ -45,7 +45,7 @@ GraphBase::InPort::InPort(
             const SUPERV::KindOfPort aKind ,
             const SALOME_ModuleCatalog::DataStreamDependency aDependency ) :
           Port( Name , aserviceParameter , aKind , aDependency ) {
-  _State = SUPERV::UndefinedState ;
+  _PortState = SUPERV::UndefinedState ;
   _OutPort = NULL ;
   _InitialOutPort = NULL ;
 }
@@ -118,6 +118,9 @@ bool GraphBase::InPort::RemoveOutPort() {
   if ( !IsEndSwitch() ) {
     RemoveCoords() ;
   }
+  else {
+    Kind( SUPERV::InLineParameter ) ;
+  }
   return true ;
 }
 
@@ -136,8 +139,8 @@ ostream & operator<< (ostream &f ,const GraphBase::InPort &P) {
   return f;
 }
 
-ostream & operator<< (ostream &f ,const SUPERV::GraphState & aState ) {
-  switch (aState) {
+ostream & operator<< (ostream &f ,const SUPERV::GraphState & aPortState ) {
+  switch (aPortState) {
   case SUPERV::UndefinedState :
     f << "UndefinedState";
     break;