Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in test on 24 cores CPU test
[modules/kernel.git]
/
src
/
ModuleCatalog
/
SALOME_ModuleCatalog_Acomponent_impl.cxx
diff --git
a/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx
b/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx
index 240d60a8a4035e94cacb9694ae1c57f7af9717ef..fecc12beeac9453682d31dacf47fcdf3bf8b4f98 100644
(file)
--- a/
src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx
+++ b/
src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-29,7
+29,7
@@
#include "SALOME_ModuleCatalog_Acomponent_impl.hxx"
#include "Utils_ExceptHandlers.hxx"
#include "SALOME_ModuleCatalog_Acomponent_impl.hxx"
#include "Utils_ExceptHandlers.hxx"
-UNEXPECT_CATCH(MC_NotFound, SALOME_ModuleCatalog::NotFound)
;
+UNEXPECT_CATCH(MC_NotFound, SALOME_ModuleCatalog::NotFound)
#include "utilities.h"
#include "utilities.h"
@@
-42,9
+42,9
@@
static int MYDEBUG = 0;
//----------------------------------------------------------------------
// Function : SALOME_ModuleCatalog_AcomponentImpl
// Purpose : Constructor
//----------------------------------------------------------------------
// Function : SALOME_ModuleCatalog_AcomponentImpl
// Purpose : Constructor
-// Affect the component name, type,icon
e
+// Affect the component name, type,icon
// Affect too the constraint and the interfaces of the component
// Affect too the constraint and the interfaces of the component
-// and the path
es
prefixes for all computers
+// and the path prefixes for all computers
//----------------------------------------------------------------------
SALOME_ModuleCatalog_AcomponentImpl::SALOME_ModuleCatalog_AcomponentImpl
(SALOME_ModuleCatalog::ComponentDef &C) : _Component(C)
//----------------------------------------------------------------------
SALOME_ModuleCatalog_AcomponentImpl::SALOME_ModuleCatalog_AcomponentImpl
(SALOME_ModuleCatalog::ComponentDef &C) : _Component(C)
@@
-102,7
+102,6
@@
SALOME_ModuleCatalog_AcomponentImpl::GetInterfaceList()
//----------------------------------------------------------------------
SALOME_ModuleCatalog::DefinitionInterface*
SALOME_ModuleCatalog_AcomponentImpl::GetInterface(const char* interfacename)
//----------------------------------------------------------------------
SALOME_ModuleCatalog::DefinitionInterface*
SALOME_ModuleCatalog_AcomponentImpl::GetInterface(const char* interfacename)
- throw(SALOME_ModuleCatalog::NotFound)
{
if(MYDEBUG) BEGIN_OF("GetInterface");
if(MYDEBUG) SCRUTE(interfacename);
{
if(MYDEBUG) BEGIN_OF("GetInterface");
if(MYDEBUG) SCRUTE(interfacename);
@@
-153,7
+152,6
@@
SALOME_ModuleCatalog_AcomponentImpl::GetInterface(const char* interfacename)
//----------------------------------------------------------------------
SALOME_ModuleCatalog::ListOfServices*
SALOME_ModuleCatalog_AcomponentImpl::GetServiceList(const char* interfacename)
//----------------------------------------------------------------------
SALOME_ModuleCatalog::ListOfServices*
SALOME_ModuleCatalog_AcomponentImpl::GetServiceList(const char* interfacename)
- throw(SALOME_ModuleCatalog::NotFound)
{
if(MYDEBUG) BEGIN_OF("GetServiceList");
if(MYDEBUG) SCRUTE(interfacename);
{
if(MYDEBUG) BEGIN_OF("GetServiceList");
if(MYDEBUG) SCRUTE(interfacename);
@@
-209,7
+207,6
@@
SALOME_ModuleCatalog_AcomponentImpl::GetServiceList(const char* interfacename)
SALOME_ModuleCatalog::Service*
SALOME_ModuleCatalog_AcomponentImpl::GetService(const char* interfacename,
const char* servicename)
SALOME_ModuleCatalog::Service*
SALOME_ModuleCatalog_AcomponentImpl::GetService(const char* interfacename,
const char* servicename)
- throw(SALOME_ModuleCatalog::NotFound)
{
if(MYDEBUG) BEGIN_OF("GetService");
if(MYDEBUG) SCRUTE(interfacename);
{
if(MYDEBUG) BEGIN_OF("GetService");
if(MYDEBUG) SCRUTE(interfacename);
@@
-276,7
+273,6
@@
SALOME_ModuleCatalog_AcomponentImpl::GetService(const char* interfacename,
//----------------------------------------------------------------------
SALOME_ModuleCatalog::Service*
SALOME_ModuleCatalog_AcomponentImpl::GetDefaultService(const char* interfacename)
//----------------------------------------------------------------------
SALOME_ModuleCatalog::Service*
SALOME_ModuleCatalog_AcomponentImpl::GetDefaultService(const char* interfacename)
- throw(SALOME_ModuleCatalog::NotFound)
{
if(MYDEBUG) BEGIN_OF("GetDefaultService");
if(MYDEBUG) SCRUTE(interfacename);
{
if(MYDEBUG) BEGIN_OF("GetDefaultService");
if(MYDEBUG) SCRUTE(interfacename);
@@
-293,7
+289,7
@@
SALOME_ModuleCatalog_AcomponentImpl::GetDefaultService(const char* interfacename
if (strcmp(interfacename, _Component.interfaces[ind].interfacename) == 0)
{
// wanted interface
if (strcmp(interfacename, _Component.interfaces[ind].interfacename) == 0)
{
// wanted interface
- // looking for the defau
tl
service of the wanted interface
+ // looking for the defau
lt
service of the wanted interface
for (unsigned int ind1 = 0; ind1 < _Component.interfaces[ind].interfaceservicelist.length() ; ind1++)
{
if (_Component.interfaces[ind].interfaceservicelist[ind1].Servicebydefault)
for (unsigned int ind1 = 0; ind1 < _Component.interfaces[ind].interfaceservicelist.length() ; ind1++)
{
if (_Component.interfaces[ind].interfaceservicelist[ind1].Servicebydefault)
@@
-330,7
+326,6
@@
SALOME_ModuleCatalog_AcomponentImpl::GetDefaultService(const char* interfacename
//----------------------------------------------------------------------
char*
SALOME_ModuleCatalog_AcomponentImpl::GetPathPrefix(const char* machinename)
//----------------------------------------------------------------------
char*
SALOME_ModuleCatalog_AcomponentImpl::GetPathPrefix(const char* machinename)
- throw(SALOME_ModuleCatalog::NotFound)
{
if(MYDEBUG) BEGIN_OF("GetPathPrefix");
if(MYDEBUG) SCRUTE(machinename);
{
if(MYDEBUG) BEGIN_OF("GetPathPrefix");
if(MYDEBUG) SCRUTE(machinename);