Salome HOME
9d3e726ecb94872d8299aa169a70718441aeffd2
[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  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //  File   : DataFlowBase_EndOfLoopNode.cxx
23 //  Author : Jean Rahuel, CEA
24 //  Module : SUPERV
25
26 using namespace std;
27 //#include <sstream>
28 //#include <iostream>
29
30 #include "DataFlowBase_EndOfLoopNode.hxx"
31
32 GraphBase::EndOfLoopNode::EndOfLoopNode() :
33   GraphBase::GOTONode::GOTONode() {
34
35   cdebug << "GraphBase::EndOfLoopNode::EndOfLoopNode "  << this 
36          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
37          << (void *) Comment() << " "  << Comment() << " "  << endl ;
38
39 }
40
41 GraphBase::EndOfLoopNode::EndOfLoopNode( CORBA::ORB_ptr ORB ,
42                                SALOME_NamingService* ptrNamingService ,
43                                const char * FuncName ,
44                                const SUPERV::ListOfStrings & anInitPythonFunction ,
45                                const char *NodeName ,
46                                const SUPERV::KindOfNode akind ,
47                                const SUPERV::SDate NodeFirstCreation ,
48                                const SUPERV::SDate NodeLastModification  ,
49                                const char * NodeEditorRelease ,
50                                const char * NodeAuthor ,
51                                const char * NodeComment ,
52                                const bool   GeneratedName ,
53                                const long   X ,
54                                const long   Y ,
55                                int * Graph_prof_debug ,
56                                ofstream * Graph_fdebug ) :
57   GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName , 
58                                  anInitPythonFunction ,
59                                  NodeName , akind , NodeFirstCreation ,
60                                  NodeLastModification  , NodeEditorRelease ,
61                                  NodeAuthor , NodeComment , GeneratedName ,
62                                  X , Y , Graph_prof_debug , Graph_fdebug ) {
63
64   cdebug_in << "GraphBase::EndOfLoopNode::EndOfLoopNode "  << this 
65             << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
66             << (void *) Comment() << " "  << Comment() << " " 
67             << " KindOfNode " << Kind() << " FuncName " << FuncName
68             << " ServiceName " << ServiceName() << " In("
69             << ServiceInParameter().length()
70             << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
71
72   cdebug_out << "GraphBase::EndOfLoopNode::EndOfLoopNode" << endl;
73 }
74
75 GraphBase::EndOfLoopNode::~EndOfLoopNode() {
76   cdebug << "GraphBase::Node::~Node "  << this 
77          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
78          << (void *) Comment() << " "  << Comment() << " "  << endl ;
79 //  if ( _ComponentName != NULLSTRING )
80 //    delete [] _ComponentName ;
81 //  delete [] _Name ;
82 //  delete [] _EditorRelease ;
83 //  if ( _Author != NULLSTRING )
84 //    delete [] _Author ;
85 //  if ( _Computer != FACTORYSERVER )
86 //    delete [] _Computer;
87 //  if ( Comment() != NULLSTRING )
88 //    delete [] Comment();
89 }
90