Salome HOME
There was an error in the update of OutPort of Loop/EndLoopNodes (not used in the...
[modules/superv.git] / src / GraphBase / DataFlowBase_EndOfLoopNode.cxx
1 //  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : DataFlowBase_EndOfLoopNode.cxx
8 //  Author : Jean Rahuel, CEA
9 //  Module : SUPERV
10 //  $Header:
11
12 using namespace std;
13 //#include <sstream>
14 //#include <iostream>
15
16 #include "DataFlowBase_EndOfLoopNode.hxx"
17
18 GraphBase::EndOfLoopNode::EndOfLoopNode() :
19   GraphBase::GOTONode::GOTONode() {
20
21   cdebug << "GraphBase::EndOfLoopNode::EndOfLoopNode "  << this 
22          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
23          << (void *) Comment() << " "  << Comment() << " "  << endl ;
24
25 }
26
27 GraphBase::EndOfLoopNode::EndOfLoopNode( CORBA::ORB_ptr ORB ,
28                                SALOME_NamingService* ptrNamingService ,
29                                const char * FuncName ,
30                                const SUPERV::ListOfStrings & anInitPythonFunction ,
31                                const char *NodeName ,
32                                const SUPERV::KindOfNode akind ,
33                                const SUPERV::SDate NodeFirstCreation ,
34                                const SUPERV::SDate NodeLastModification  ,
35                                const char * NodeEditorRelease ,
36                                const char * NodeAuthor ,
37                                const char * NodeComment ,
38                                const bool   GeneratedName ,
39                                const long   X ,
40                                const long   Y ,
41                                int * Graph_prof_debug ,
42                                ofstream * Graph_fdebug ) :
43   GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName , 
44                                  anInitPythonFunction ,
45                                  NodeName , akind , NodeFirstCreation ,
46                                  NodeLastModification  , NodeEditorRelease ,
47                                  NodeAuthor , NodeComment , GeneratedName ,
48                                  X , Y , Graph_prof_debug , Graph_fdebug ) {
49
50   cdebug_in << "GraphBase::EndOfLoopNode::EndOfLoopNode "  << this 
51             << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
52             << (void *) Comment() << " "  << Comment() << " " 
53             << " KindOfNode " << Kind() << " FuncName " << FuncName
54             << " ServiceName " << ServiceName() << " In("
55             << ServiceInParameter().length()
56             << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
57
58   cdebug_out << "GraphBase::EndOfLoopNode::EndOfLoopNode" << endl;
59 }
60
61 GraphBase::EndOfLoopNode::~EndOfLoopNode() {
62   cdebug << "GraphBase::Node::~Node "  << this 
63          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
64          << (void *) Comment() << " "  << Comment() << " "  << endl ;
65 //  if ( _ComponentName != NULLSTRING )
66 //    delete [] _ComponentName ;
67 //  delete [] _Name ;
68 //  delete [] _EditorRelease ;
69 //  if ( _Author != NULLSTRING )
70 //    delete [] _Author ;
71 //  if ( _Computer != FACTORYSERVER )
72 //    delete [] _Computer;
73 //  if ( Comment() != NULLSTRING )
74 //    delete [] Comment();
75 }
76