]> SALOME platform Git repositories - modules/superv.git/blob - src/GraphBase/DataFlowBase_EndOfLoopNode.cxx
Salome HOME
4780ba80cd4748dcad12a66664353aea3f16d853
[modules/superv.git] / src / GraphBase / DataFlowBase_EndOfLoopNode.cxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  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 //  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
23 //  File   : DataFlowBase_EndOfLoopNode.cxx
24 //  Author : Jean Rahuel, CEA
25 //  Module : SUPERV
26 //
27 using namespace std;
28 //#include <sstream>
29 //#include <iostream>
30
31 #include "DataFlowBase_EndOfLoopNode.hxx"
32
33 GraphBase::EndOfLoopNode::EndOfLoopNode() :
34   GraphBase::GOTONode::GOTONode() {
35
36   cdebug << "GraphBase::EndOfLoopNode::EndOfLoopNode "  << this 
37          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
38          << (void *) Comment() << " "  << Comment() << " "  << endl ;
39
40 }
41
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 ,
54                                const long   X ,
55                                const long   Y ,
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 ) {
64
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 ;
72
73   cdebug_out << "GraphBase::EndOfLoopNode::EndOfLoopNode" << endl;
74 }
75
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 ;
82 //  delete [] _Name ;
83 //  delete [] _EditorRelease ;
84 //  if ( _Author != NULLSTRING )
85 //    delete [] _Author ;
86 //  if ( _Computer != FACTORYSERVER )
87 //    delete [] _Computer;
88 //  if ( Comment() != NULLSTRING )
89 //    delete [] Comment();
90 }
91