Salome HOME
sources v1.2
[modules/superv.git] / src / GraphBase / DataFlowBase_DataNode.cxx
index fa17d1a67d64f51c5b9b4cd6da3b7cc1d2e3fca0..63051cd70240b62bdfab08a140ecdd68934e8e82 100644 (file)
@@ -1,12 +1,32 @@
-using namespace std;
-//=============================================================================
-// File      : DataFlowBase_DataNode.cxx
-// Created   : 2002
-// Author    : Jean Rahuel, CEA
-// Project   : SALOME
-// $Header:
-//=============================================================================
+//  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : DataFlowBase_DataNode.cxx
+//  Author : Jean Rahuel, CEA
+//  Module : SUPERV
+//  $Header:
 
+using namespace std;
 #include "DataFlowBase_DataNode.hxx"
 
 GraphBase::DataNode::DataNode() :
@@ -54,7 +74,8 @@ void GraphBase::DataNode::DataService(
 //  cout << "GraphBase::DataNode::DataService : DataFlowPortsOfNode of "
 //       << aService.ServiceName << endl ;
 //  DefPortsOfNode( aService , aService.ServiceName ) ;
-  DefPortsOfNode( ORB , aService , NamePtr() , Kind() , true , false , false , false ,
+  DefPortsOfNode( ORB , aService , NamePtr() , Kind() ,
+//                  true , false , false , false ,
                   Graph_prof_debug , Graph_fdebug ) ;
 
   if ( _Created )
@@ -67,9 +88,9 @@ void GraphBase::DataNode::DataService(
 //  cout << "GraphBase::DataNode::DataService : Mirrored DataFlowPortsOfNode of "
 //       << aReversedService.ServiceName << endl ;
   _DataFlowDataPorts->DefPortsOfNode( ORB , aReversedService , NamePtr() ,
-                                      Kind() , true , false , false , false ,
+                                      Kind() ,
+//                                      true , false , false , false ,
                                       Graph_prof_debug , Graph_fdebug ) ;
-//                                      aReversedService.ServiceName ) ;
   _Created = true ;
 }