X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleCatalog%2FSALOME_ModuleCatalog_Acomponent_impl.cxx;h=fecc12beeac9453682d31dacf47fcdf3bf8b4f98;hb=a98a09635ad776cf8eb98664e0933760eb9edbe4;hp=240d60a8a4035e94cacb9694ae1c57f7af9717ef;hpb=910e1b8c12ac2978e64847e9694b080c8381bc60;p=modules%2Fkernel.git diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx index 240d60a8a..fecc12bee 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 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 @@ -29,7 +29,7 @@ #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" @@ -42,9 +42,9 @@ static int MYDEBUG = 0; //---------------------------------------------------------------------- // Function : SALOME_ModuleCatalog_AcomponentImpl // Purpose : Constructor -// Affect the component name, type,icone +// Affect the component name, type,icon // Affect too the constraint and the interfaces of the component -// and the pathes prefixes for all computers +// and the path prefixes for all computers //---------------------------------------------------------------------- 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) - throw(SALOME_ModuleCatalog::NotFound) { 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) - throw(SALOME_ModuleCatalog::NotFound) { 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) - throw(SALOME_ModuleCatalog::NotFound) { 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) - throw(SALOME_ModuleCatalog::NotFound) { 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 - // looking for the defautl service of the wanted interface + // looking for the default service of the wanted interface 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) - throw(SALOME_ModuleCatalog::NotFound) { if(MYDEBUG) BEGIN_OF("GetPathPrefix"); if(MYDEBUG) SCRUTE(machinename);