]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphEditor/DataFlowEditor_OutNode.hxx
Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / GraphEditor / DataFlowEditor_OutNode.hxx
index 0daf9307901bb339675d36315ea98489abd40182..a439910e61bd12b3f55feeb9e6950cca4703cd71 100644 (file)
@@ -50,7 +50,7 @@ namespace GraphEditor {
 
       CORBA::ORB_ptr _Orb;
 
-      bool Valid() ;
+      bool Valid(bool kLoopSwitch = true ) ;
       bool Executable() ;
 
       bool LoadNodes( map< string , int > & aMapOfNodes ,
@@ -74,8 +74,6 @@ namespace GraphEditor {
                                              bool fromparam ,
                                              bool toparam ,
                                              bool wdata ) const;
-      bool SavePY(ostream &f , bool importSuperV ) ;
-
       void DateModification() ;
 
       // asv 20.09.04 added from GraphExecutor::FiniteStateMachine class (removed from there)
@@ -134,6 +132,8 @@ namespace GraphEditor {
       bool SaveXml(const char* myFileName ) ;
 
       bool SavePy(const char* myFileName ) ;
+      bool SavePY(ostream &f , bool importSuperV ) ;
+
 
 // get all DataFlow informations (for a .XML file) :
       GraphBase::ListOfSGraphs * GetDataFlows( GraphBase::ListOfSGraphs * aListOfDataFlows ) ;
@@ -272,9 +272,9 @@ namespace GraphEditor {
                          const int index , long &X , long &Y ) ;
 
 
-      bool IsValid() {
+      bool IsValid(bool kLoopSwitch = true ) {
            if ( !_Valid )
-             Valid() ;
+             Valid( kLoopSwitch ) ;
            return _Valid ; } ;
       bool IsNotValid() const {
            return !_Valid ; } ;
@@ -302,10 +302,12 @@ namespace GraphEditor {
       // in-port of type "InPortType".  Called from IsLinksCompatible() and Link_Impl::IsValid().
       bool IsCompatible( const char* OutPortType, const char* InPortType ) const;
 
-      const CORBA::Any *GetInData( const char *ToNodeName ,
-                                   const char *ToParameterName ) ;
-      const CORBA::Any *GetOutData( const char *FromNodeName ,
-                                    const char *FromParameterName ) ;
+//JR 30.03.2005      const CORBA::Any *GetInData( const char *ToNodeName ,
+      const CORBA::Any GetInData( const char *ToNodeName ,
+                                  const char *ToParameterName ) ;
+//JR 30.03.2005      const CORBA::Any *GetOutData( const char *FromNodeName ,
+      const CORBA::Any GetOutData( const char *FromNodeName ,
+                                   const char *FromParameterName ) ;
   } ;
 
 };