+++ /dev/null
-// SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
-//
-// Copyright (C) 2003 CEA/DEN, EDF R&D
-//
-//
-//
-// File : DataFlowBase_SwitchNode.cxx
-// Author : Jean Rahuel, CEA
-// Module : SUPERV
-// $Header:
-
-using namespace std;
-//#include <sstream>
-//#include <iostream>
-
-#include "DataFlowBase_SwitchNode.hxx"
-
-GraphBase::SwitchNode::SwitchNode() :
- GraphBase::GOTONode::GOTONode() {
-
- cdebug << "GraphBase::SwitchNode::SwitchNode " << this
- << " _Name " << (void *) Name() << " " << Name() << " _Comment "
- << (void *) Comment() << " " << Comment() << " " << endl ;
-
-}
-
-GraphBase::SwitchNode::SwitchNode( CORBA::ORB_ptr ORB ,
- SALOME_NamingService* ptrNamingService ,
- const char * FuncName ,
- const SUPERV::ListOfStrings & aPythonFunction ,
- const char *NodeName ,
- const SUPERV::KindOfNode akind ,
- const SUPERV::SDate NodeFirstCreation ,
- const SUPERV::SDate NodeLastModification ,
- const char * NodeEditorRelease ,
- const char * NodeAuthor ,
- const char * NodeComment ,
- const bool GeneratedName ,
- const long X ,
- const long Y ,
- int * Graph_prof_debug ,
- ofstream * Graph_fdebug ) :
- GraphBase::GOTONode::GOTONode( ORB , ptrNamingService , FuncName , aPythonFunction ,
- NodeName , akind , NodeFirstCreation ,
- NodeLastModification , NodeEditorRelease ,
- NodeAuthor , NodeComment , GeneratedName ,
- X , Y , Graph_prof_debug , Graph_fdebug ) {
-
- cdebug_in << "GraphBase::SwitchNode::SwitchNode " << this
- << "' _Name " << (void *) Name() << " '" << Name() << " _Comment "
- << (void *) Comment() << " " << Comment() << " "
- << " KindOfNode " << Kind() << " FuncName " << FuncName
- << " ServiceName " << ServiceName() << " In("
- << ServiceInParameter().length()
- << ") Out(" << ServiceOutParameter().length() << ")" << endl ;
-
- cdebug_out << "GraphBase::SwitchNode::SwitchNode" << endl;
-}
-
-GraphBase::SwitchNode::~SwitchNode() {
- cdebug << "GraphBase::SwitchNode::~SwitchNode " << this
- << " _Name " << (void *) Name() << " " << Name() << " _Comment "
- << (void *) Comment() << " " << Comment() << " " << endl ;
-// if ( _ComponentName != NULLSTRING )
-// delete [] _ComponentName ;
-// delete [] _Name ;
-// delete [] _EditorRelease ;
-// if ( _Author != NULLSTRING )
-// delete [] _Author ;
-// if ( _Computer != FACTORYSERVER )
-// delete [] _Computer;
-// if ( _Comment != NULLSTRING )
-// delete [] _Comment;
-}
-