Salome HOME
projects
/
modules
/
superv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug PAL78476: when out-port is added to study, it must try to put its value...
[modules/superv.git]
/
src
/
GraphBase
/
DataFlowBase_InPort.hxx
diff --git
a/src/GraphBase/DataFlowBase_InPort.hxx
b/src/GraphBase/DataFlowBase_InPort.hxx
index 51224a345e966ad6d18bd0966b7e0d3ea0adeed8..5716725c62bac8a5152e3564eb826741111c9c92 100644
(file)
--- a/
src/GraphBase/DataFlowBase_InPort.hxx
+++ b/
src/GraphBase/DataFlowBase_InPort.hxx
@@
-70,19
+70,18
@@
namespace GraphBase {
return _OutPort ; } ;
OutPort * GetOutPort() const {
return _OutPort ; } ;
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 IsDataConnected() const ;
+ bool IsExternConnected() const ;
bool AddOutPort( OutPort * anOutPort ) {
if ( _OutPort )
return false ;
_OutPort = anOutPort ;
return true ; } ;
bool AddOutPort( OutPort * anOutPort ) {
if ( _OutPort )
return false ;
_OutPort = anOutPort ;
return true ; } ;
- bool ChangeOutPort( OutPort * anOutPort ) {
- if ( _InitialOutPort == NULL ) {
- _InitialOutPort = _OutPort ;
- }
- _OutPort = anOutPort ;
- return true ; } ;
+ bool ChangeOutPort( OutPort * anOutPort ) ;
bool InitialOutPort() {
if ( _InitialOutPort ) {
_OutPort = _InitialOutPort ;
bool InitialOutPort() {
if ( _InitialOutPort ) {
_OutPort = _InitialOutPort ;
@@
-90,11
+89,7
@@
namespace GraphBase {
return true ;
}
return false ; } ;
return true ;
}
return false ; } ;
- bool RemoveOutPort() {
- if ( _OutPort == NULL )
- return false ;
- _OutPort = NULL ;
- return RemoveCoords() ; } ;
+ bool RemoveOutPort() ;
void StringValue(ostream & f ) const ;
void StringValue(ostream & f ) const ;
@@
-104,4
+99,6
@@
namespace GraphBase {
ostream & operator<< (ostream &,const GraphBase::InPort &);
ostream & operator<< (ostream &,const GraphBase::InPort &);
+ostream & operator<< (ostream &,const SUPERV::GraphState &);
+
#endif
#endif