Salome HOME
DCQ:prepare 2.0.0
[modules/superv.git] / src / GraphBase / DataFlowBase_InPort.hxx
index 51224a345e966ad6d18bd0966b7e0d3ea0adeed8..467f360a0001bae2b5a0d4a09ff615931d4c569c 100644 (file)
@@ -70,8 +70,12 @@ namespace GraphBase {
            return _OutPort ; } ;
       OutPort * GetOutPort() const {
            return _OutPort ; } ;
-      bool IsConnected() const ;
+      const StatusOfPort PortStatus() const ;
+      bool IsNotConnected() const ;
+//      bool IsConnected() const ;
+      bool IsPortConnected() const ;
       bool IsDataConnected() const ;
+      bool IsExternConnected() const ;
       bool AddOutPort( OutPort * anOutPort ) {
            if ( _OutPort )
              return false ;
@@ -90,11 +94,7 @@ namespace GraphBase {
              return true ;
           }
            return false ; } ;
-      bool RemoveOutPort() {
-           if ( _OutPort == NULL )
-             return false ;
-           _OutPort = NULL ;
-           return RemoveCoords() ; } ;
+      bool RemoveOutPort() ;
 
       void StringValue(ostream & f ) const ;
 
@@ -104,4 +104,6 @@ namespace GraphBase {
 
 ostream & operator<< (ostream &,const GraphBase::InPort &);
 
+ostream & operator<< (ostream &,const SUPERV::GraphState &);
+
 #endif