1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
23 // File : DataFlowBase_EndOfLoopNode.cxx
24 // Author : Jean Rahuel, CEA
31 #include "DataFlowBase_EndOfLoopNode.hxx"
33 GraphBase::EndOfLoopNode::EndOfLoopNode() :
34 GraphBase::GOTONode::GOTONode() {
36 cdebug << "GraphBase::EndOfLoopNode::EndOfLoopNode " << this
37 << " _Name " << (void *) Name() << " " << Name() << " _Comment "
38 << (void *) Comment() << " " << Comment() << " " << endl ;
42 GraphBase::EndOfLoopNode::EndOfLoopNode( CORBA::ORB_ptr ORB ,
43 SALOME_NamingService* ptrNamingService ,
44 const char * FuncName ,
45 const SUPERV::ListOfStrings & anInitPythonFunction ,
46 const char *NodeName ,
47 const SUPERV::KindOfNode akind ,
48 const SUPERV::SDate NodeFirstCreation ,
49 const SUPERV::SDate NodeLastModification ,
50 const char * NodeEditorRelease ,
51 const char * NodeAuthor ,
52 const char * NodeComment ,
53 const bool GeneratedName ,
56 int * Graph_prof_debug ,
57 ofstream * Graph_fdebug ) :
58 GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName ,
59 anInitPythonFunction ,
60 NodeName , akind , NodeFirstCreation ,
61 NodeLastModification , NodeEditorRelease ,
62 NodeAuthor , NodeComment , GeneratedName ,
63 X , Y , Graph_prof_debug , Graph_fdebug ) {
65 cdebug_in << "GraphBase::EndOfLoopNode::EndOfLoopNode " << this
66 << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
67 << (void *) Comment() << " " << Comment() << " "
68 << " KindOfNode " << Kind() << " FuncName " << FuncName
69 << " ServiceName " << ServiceName() << " In("
70 << ServiceInParameter().length()
71 << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
73 cdebug_out << "GraphBase::EndOfLoopNode::EndOfLoopNode" << endl;
76 GraphBase::EndOfLoopNode::~EndOfLoopNode() {
77 cdebug << "GraphBase::Node::~Node " << this
78 << " _Name " << (void *) Name() << " " << Name() << " _Comment "
79 << (void *) Comment() << " " << Comment() << " " << endl ;
80 // if ( _ComponentName != NULLSTRING )
81 // delete [] _ComponentName ;
83 // delete [] _EditorRelease ;
84 // if ( _Author != NULLSTRING )
85 // delete [] _Author ;
86 // if ( _Computer != FACTORYSERVER )
87 // delete [] _Computer;
88 // if ( Comment() != NULLSTRING )
89 // delete [] Comment();