]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphBase/DataFlowBase_ComputingNode.hxx
Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / GraphBase / DataFlowBase_ComputingNode.hxx
index 35145a84a72047c0422f52d69e9f37e89392075b..ba8bd6afec3aa19520a9ab3847bef60875852049 100644 (file)
@@ -26,6 +26,7 @@ namespace GraphBase {
 
   class LoopNode ;
   class EndOfLoopNode ;
+  class EndOfSwitchNode ;
 
   class ComputingNode : public StreamNode {
 
@@ -159,9 +160,12 @@ namespace GraphBase {
 //      const SALOME_ModuleCatalog::Service * Service() const ;
       SUPERV::SDate FirstCreation() const ;
       SUPERV::SDate LastModification() const ;
-      char* Author() const { return my_strdup( _Author ) ; } ;
-      char* EditorRelease() const { return my_strdup( _EditorRelease ) ; } ;
-      char * Comment() const { return my_strdup( _Comment ) ; } ;
+//JR 17.02.2005 Memory Leak      char* Author() const { return my_strdup( _Author ) ; } ;
+      char* Author() const { return _Author ; } ;
+//JR 17.02.2005 Memory Leak      char* EditorRelease() const { return my_strdup( _EditorRelease ) ; } ;
+      char* EditorRelease() const { return _EditorRelease ; } ;
+//JR 17.02.2005 Memory Leak      char * Comment() const { return my_strdup( _Comment ) ; } ;
+      char * Comment() const { return _Comment ; } ;
       int XCoordinate() const { return _X ; } ;
       int YCoordinate() const { return _Y ; } ;
 
@@ -270,6 +274,8 @@ namespace GraphBase {
                      GraphBase::EndOfLoopNode * anEndLoopNode ) const ;
       bool CheckEndLoop(GraphBase::LoopNode * aLoopNode ,
                         GraphBase::EndOfLoopNode * anEndLoopNode ) const ;
+      bool InitBranchOfSwitchDone( bool AllInit , GraphBase::EndOfSwitchNode * anEndSwitchNode ) ;
+      bool CheckSwitch(GraphBase::EndOfSwitchNode * anEndSwitchNode ) ;
 
 //      const GraphBase::ListOfParameters * GetListOfParameters() const ;