]> SALOME platform Git repositories - modules/superv.git/blob - src/GraphBase/DataFlowBase_SwitchNode.cxx
Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/superv.git] / src / GraphBase / DataFlowBase_SwitchNode.cxx
1 using namespace std;
2 //=============================================================================
3 // File      : DataFlowBase_SwitchNode.cxx
4 // Created   : 2003
5 // Author    : Jean Rahuel, CEA
6 // Project   : SALOME
7 // $Header:
8 //=============================================================================
9
10 #include <strstream>
11 #include <iostream>
12
13 #include "DataFlowBase_SwitchNode.hxx"
14
15 GraphBase::SwitchNode::SwitchNode() :
16   GraphBase::GOTONode::GOTONode() {
17
18   cdebug << "GraphBase::SwitchNode::SwitchNode "  << this 
19          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
20          << (void *) Comment() << " "  << Comment() << " "  << endl ;
21
22 }
23
24 GraphBase::SwitchNode::SwitchNode( CORBA::ORB_ptr ORB ,
25                                    SALOME_NamingService* ptrNamingService ,
26                                    const char * FuncName ,
27                                    const SUPERV::ListOfStrings & aPythonFunction ,
28                                    const char *NodeName ,
29                                    const SUPERV::KindOfNode akind ,
30                                    const SUPERV::SDate NodeFirstCreation ,
31                                    const SUPERV::SDate NodeLastModification  ,
32                                    const char * NodeEditorRelease ,
33                                    const char * NodeAuthor ,
34                                    const char * NodeComment ,
35                                    const bool   GeneratedName ,
36                                    const long   X ,
37                                    const long   Y ,
38                                    int * Graph_prof_debug ,
39                                    ostream * Graph_fdebug ) :
40   GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName , aPythonFunction ,
41                                  NodeName , akind , NodeFirstCreation ,
42                                  NodeLastModification  , NodeEditorRelease ,
43                                  NodeAuthor , NodeComment , GeneratedName ,
44                                  X , Y , Graph_prof_debug , Graph_fdebug ) {
45
46   cdebug_in << "GraphBase::SwitchNode::SwitchNode "  << this 
47             << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
48             << (void *) Comment() << " "  << Comment() << " " 
49             << " KindOfNode " << Kind() << " FuncName " << FuncName
50             << " ServiceName " << ServiceName() << " In("
51             << ServiceInParameter().length()
52             << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
53
54   cdebug_out << "GraphBase::SwitchNode::SwitchNode" << endl;
55 }
56
57 GraphBase::SwitchNode::~SwitchNode() {
58   cdebug << "GraphBase::SwitchNode::~SwitchNode "  << this 
59          << " _Name " << (void *) Name() << " " << Name() << " _Comment "
60          << (void *) Comment() << " "  << Comment() << " "  << endl ;
61 //  if ( _ComponentName != NULLSTRING )
62 //    delete [] _ComponentName ;
63 //  delete [] _Name ;
64 //  delete [] _EditorRelease ;
65 //  if ( _Author != NULLSTRING )
66 //    delete [] _Author ;
67 //  if ( _Computer != FACTORYSERVER )
68 //    delete [] _Computer;
69 //  if ( _Comment != NULLSTRING )
70 //    delete [] _Comment;
71 }
72