]> SALOME platform Git repositories - modules/superv.git/blob - src/GraphBase/DataFlowBase_SwitchNode.cxx
Salome HOME
Fix PAL8562: rpath (rpath-link) option needs parameter - directory to search shared...
[modules/superv.git] / src / GraphBase / DataFlowBase_SwitchNode.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_SwitchNode.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_SwitchNode.hxx"
17
18 GraphBase::SwitchNode::SwitchNode() :
19   GraphBase::GOTONode::GOTONode() {
20
21   cdebug << "GraphBase::SwitchNode::SwitchNode "  << this 
22          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
23          << (void *) Comment() << " "  << Comment() << " "  << endl ;
24
25 }
26
27 GraphBase::SwitchNode::SwitchNode( CORBA::ORB_ptr ORB ,
28                                    SALOME_NamingService* ptrNamingService ,
29                                    const char * FuncName ,
30                                    const SUPERV::ListOfStrings & aPythonFunction ,
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 , aPythonFunction ,
44                                  NodeName , akind , NodeFirstCreation ,
45                                  NodeLastModification  , NodeEditorRelease ,
46                                  NodeAuthor , NodeComment , GeneratedName ,
47                                  X , Y , Graph_prof_debug , Graph_fdebug ) {
48
49   cdebug_in << "GraphBase::SwitchNode::SwitchNode "  << this 
50             << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
51             << (void *) Comment() << " "  << Comment() << " " 
52             << " KindOfNode " << Kind() << " FuncName " << FuncName
53             << " ServiceName " << ServiceName() << " In("
54             << ServiceInParameter().length()
55             << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
56
57   cdebug_out << "GraphBase::SwitchNode::SwitchNode" << endl;
58 }
59
60 GraphBase::SwitchNode::~SwitchNode() {
61   cdebug << "GraphBase::SwitchNode::~SwitchNode "  << this 
62          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
63          << (void *) Comment() << " "  << Comment() << " "  << endl ;
64 //  if ( _ComponentName != NULLSTRING )
65 //    delete [] _ComponentName ;
66 //  delete [] _Name ;
67 //  delete [] _EditorRelease ;
68 //  if ( _Author != NULLSTRING )
69 //    delete [] _Author ;
70 //  if ( _Computer != FACTORYSERVER )
71 //    delete [] _Computer;
72 //  if ( _Comment != NULLSTRING )
73 //    delete [] _Comment;
74 }
75