From: tajchman Date: Thu, 8 Apr 2004 15:49:47 +0000 (+0000) Subject: Removing commented lines X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=025ad45d33d55e43d42a14cba5dcd941216590cb;p=modules%2Fkernel.git Removing commented lines --- diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx index 9f1940835..bfdb26a36 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx @@ -414,156 +414,6 @@ char* SALOME_ModuleCatalog_AcomponentImpl::component_icone() return CORBA::string_dup(_Component.icon); } -/// /---------------------------------------------------------------------- -// // Function : _duplicate_service -// // Purpose : duplicate a service -// //---------------------------------------------------------------------- -// void -// SALOME_ModuleCatalog_AcomponentImpl::_duplicate_service -// (SALOME_ModuleCatalog::Service & S_out, -// const SALOME_ModuleCatalog::Service & S_in) -// { -// BEGIN_OF("_duplicate_service"); - -// unsigned int _length; - -// MESSAGE("service name : " << S_in.ServiceName); - -// // service name -// S_out.ServiceName = CORBA::string_dup(S_in.ServiceName); -// // service by default -// _service->Servicebydefault = S_in.Servicebydefault; - -// // in Parameters service -// _length = S_in.ServiceinParameter.length(); - -// if (_length>0) { -// _service->ServiceinParameter.length(_length); -// SCRUTE(_length); - -// for(unsigned int ind = 0; ind < _length; ind++) -// { -// SALOME_ModuleCatalog::ServicesParameter & P_in -// = service.ServiceinParameter[ind]; -// SALOME_ModuleCatalog::ServicesParameter & P_out -// = _service->ServiceinParameter[ind]; - -// SCRUTE(P_in.Parametername); -// // in Parameter type -// P_out.Parametertype = CORBA::string_dup(P_in.Parametertype); -// // in Parameter name -// P_out.Parametername = CORBA::string_dup(P_in.Parametername); -// } -// } - -// // out Parameters service -// _length = service.ServiceoutParameter.length(); - -// if (_length>0) { -// _service->ServiceoutParameter.length(_length); -// SCRUTE(_length); - -// for(unsigned int ind = 0; ind < _length; ind++) -// { -// SALOME_ModuleCatalog::ServicesParameter & P_in -// = service.ServiceoutParameter[ind]; -// SALOME_ModuleCatalog::ServicesParameter & P_out -// = _service->ServiceoutParameter[ind]; - -// // out Parameter type -// P_out.Parametertype = CORBA::string_dup(P_in.Parametertype); -// // out Parameter name -// P_out.Parametername = CORBA::string_dup(P_in.Parametername); -// } -// } - -// // in DataStreamParameters service -// _length = service.ServiceinDataStreamParameter.length(); -// SCRUTE(_length); - -// if (_length > 0) { - -// _service->ServiceinDataStreamParameter.length(_length); - -// for(unsigned int ind = 0; ind < _length; ind++) -// { -// SALOME_ModuleCatalog::ServicesDataStreamParameter & P_in -// = service.ServiceinDataStreamParameter[ind]; -// SALOME_ModuleCatalog::ServicesDataStreamParameter & P_out -// = _service->ServiceinDataStreamParameter[ind]; - -// SCRUTE(P_in.Parametername); -// // in Parameter type -// P_out.Parametertype = P_in.Parametertype; -// // in Parameter name -// P_out.Parametername = CORBA::string_dup(P_in.Parametername); -// // out Parameter dependency -// P_out.Parameterdependency = P_in.Parameterdependency; -// } -// } - -// // out Parameters service -// _length = service.ServiceoutDataStreamParameter.length(); -// SCRUTE(_length); -// return _service; - -// if (_length > 0) { -// _service->ServiceoutDataStreamParameter.length(_length); -// SCRUTE(_length); - -// for(unsigned int ind = 0; ind < _length; ind++) -// { -// SALOME_ModuleCatalog::ServicesDataStreamParameter & P_in -// = service.ServiceoutDataStreamParameter[ind]; -// SALOME_ModuleCatalog::ServicesDataStreamParameter & P_out -// = _service->ServiceoutDataStreamParameter[ind]; - -// // out Parameter type -// P_out.Parametertype = P_in.Parametertype; -// // out Parameter name -// P_out.Parametername = CORBA::string_dup(P_in.Parametername); -// // out Parameter dependency -// P_out.Parameterdependency = P_in.Parameterdependency; -// } -// } - -// MESSAGE("OK"); -// END_OF("_duplicate_service"); -// return _service; -// } - - -// //---------------------------------------------------------------------- -// // Function : _duplicate_interface -// // Purpose : duplicate an interface -// //---------------------------------------------------------------------- -// SALOME_ModuleCatalog::DefinitionInterface_var -// SALOME_ModuleCatalog_AcomponentImpl::_duplicate_interface -// (SALOME_ModuleCatalog::DefinitionInterface & interface) -// { -// BEGIN_OF("_duplicate_interface"); - -// unsigned int _length; -// SALOME_ModuleCatalog::DefinitionInterface_var _interface -// = new SALOME_ModuleCatalog::DefinitionInterface; - -// // Affect the name of the interface -// _interface->interfacename = interface.interfacename; - -// // Affect each service of the wanted interface - -// _length = interface.interfaceservicelist.length(); -// _interface->interfaceservicelist.length(_length); - -// for (unsigned int ind1 = 0; ind1 < _length; ind1++) -// { -// _interface->interfaceservicelist[ind1] -// = _duplicate_service(interface.interfaceservicelist[ind1]); -// } - -// END_OF("_duplicate_interface"); -// return _interface; -// } void SALOME_ModuleCatalog_AcomponentImpl::duplicate (SALOME_ModuleCatalog::ServicesParameter & P_out,