Salome HOME
MPV: Merge V1_2d
[modules/superv.git] / src / GraphBase / DataFlowBase_LoopNode.hxx
index 833aeed39b98cb8aa7a4f59f4b7b9bd01530fc28..45d80ca7cabcec8536ab4f91a4d58c52c4767dde 100644 (file)
@@ -54,35 +54,44 @@ namespace GraphBase {
 
       void SetMorePythonFunction( const char * MoreName ,
                                   const SUPERV::ListOfStrings & aMorePythonFunction ) {
-           _MoreName = my_strdup( MoreName ) ;
-           _MorePythonFunction = new SUPERV::ListOfStrings( aMorePythonFunction ) ; }
+           _MoreName = my_strblkdup( MoreName ) ;
+           cdebug << "GraphBase::LoopNode::SetMorePythonFunction MoreName '" << MoreName << "' --> '"
+                  << _MoreName << "'" << endl ;
+           _MorePythonFunction = new SUPERV::ListOfStrings( aMorePythonFunction ) ; } ;
+
       SUPERV::ListOfStrings * MorePythonFunction() const {
               SUPERV::ListOfStrings * aMorePythonFunction ;
               aMorePythonFunction = new SUPERV::ListOfStrings( *_MorePythonFunction ) ;
               return aMorePythonFunction ; } ;
+
       char * PyMoreName() {
              return my_strdup( _MoreName ) ; } ;
+
       void PyMoreMethod( PyObject * MyPyMoreMethod ) {
            _MyPyMoreMethod = MyPyMoreMethod ; } ;
+
       PyObject * PyMoreMethod() {
-        return _MyPyMoreMethod ;
-      }
+        return _MyPyMoreMethod ; } ;
 
       void SetNextPythonFunction( const char * NextName ,
                                   const SUPERV::ListOfStrings & aNextPythonFunction ) {
-           _NextName = my_strdup( NextName ) ;
-           _NextPythonFunction = new SUPERV::ListOfStrings( aNextPythonFunction ) ; }
+           _NextName = my_strblkdup( NextName ) ;
+           cdebug << "GraphBase::LoopNode::SetNextPythonFunction NextName '" << NextName << "' --> '"
+                  << _NextName << "'" << endl ;
+           _NextPythonFunction = new SUPERV::ListOfStrings( aNextPythonFunction ) ; } ;
+
       SUPERV::ListOfStrings * NextPythonFunction() const {
               SUPERV::ListOfStrings * aNextPythonFunction ;
               aNextPythonFunction = new SUPERV::ListOfStrings( *_NextPythonFunction ) ;
               return aNextPythonFunction ; } ;
+
       char * PyNextName() {
              return my_strdup( _NextName ) ; } ;
       void PyNextMethod( PyObject * MyPyNextMethod ) {
            _MyPyNextMethod = MyPyNextMethod ; } ;
+
       PyObject * PyNextMethod() {
-        return _MyPyNextMethod ;
-      }
+        return _MyPyNextMethod ; } ;
 
 //      bool SaveXML(ostream &f , char *Tabs , int X , int Y ) ;
       bool SaveXML(QDomDocument & Graph , QDomElement & info , int X , int Y ) ;