for (unsigned int ind1 = 0; ind1 < _length_services ; ind1++)
{
_list[ind1] = CORBA::string_dup(I.interfaceservicelist[ind1].ServiceName);
- if(MYDEBUG) MESSAGE("The interface " << interfacename << " of the component "
- << _Component.name << " contains " << _list[ind1] << " as a service")
+ MESSAGE("The interface " << interfacename << " of the component "
+ << _Component.name << " contains " << _list[ind1] << " as a service");
}
}
}
SALOME_ModuleCatalog::ModuleCatalog_var Catalogue
= SALOME_ModuleCatalog::ModuleCatalog::_narrow(objVarN);
- MESSAGE("Distant catalog of component found")
+ MESSAGE("Distant catalog of component found");
// Get component list
SALOME_ModuleCatalog::ListOfComponents_var list_composants
//----------------------------------------------------------------------
SALOME_ModuleCatalog_Handler::~SALOME_ModuleCatalog_Handler()
{
- if(MYDEBUG) BEGIN_OF("~SALOME_ModuleCatalog_Handler()")
- if(MYDEBUG) END_OF("~SALOME_ModuleCatalog_Handler()")
+ BEGIN_OF("~SALOME_ModuleCatalog_Handler()");
+ END_OF("~SALOME_ModuleCatalog_Handler()");
}
path += splitPath[k];
}
- SCRUTE(path)
+ SCRUTE(path);
_current_context = ref_context ;
return strdup(path.c_str());
ASSERT(_SessionName) ;
ASSERT(strlen(_SessionName)>0) ;
- ASSERT(_reg.find(id)!=_reg.end())
+ ASSERT(_reg.find(id)!=_reg.end());
_reg[id]->_status=TERMINATED;
_reg[id]->_ts_end = (long)time(NULL) ; //!< TODO: conversation from time_t to long
ASSERT(_SessionName) ;
ASSERT(strlen(_SessionName)>0) ;
- ASSERT(_reg.find(id)!=_reg.end())
+ ASSERT(_reg.find(id)!=_reg.end());
_reg[id]->_ts_hello = (long)time(NULL) ; //!< TODO: conversation from time_t to long
END_OF("RegistryService::hello") ;
SetArgcArgv( argc, argv );
CORBA::ORB_var orb = KERNEL::GetRefToORB();
// LocalTraceCollector *myThreadTrace = SALOMETraceCollector::instance(orb);
- BEGIN_OF( argv[0] )
- INFOS_COMPILATION
- SCRUTE(argc)
+ BEGIN_OF( argv[0] );
+ INFOS_COMPILATION;
+ SCRUTE(argc);
if( argc<3 )
{
MESSAGE("you must provide the Salome session name when you call SALOME_Registry_Server") ;
}
catch( const SALOME_Exception &ex )
{
- MESSAGE( "Communication Error : " << ex.what() )
+ MESSAGE( "Communication Error : " << ex.what() );
return EXIT_FAILURE ;
}
SALOMEDSImpl_AttributeTreeNode* aResult = NULL;
DF_Label aLabel = DF_Label::Label(aNode->Label(), value->Label());
if (aLabel.IsNull()) {
- MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label")
- MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label")
+ MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label");
+ MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label");
return aResult;
}
if (!(aResult=(SALOMEDSImpl_AttributeTreeNode*)aLabel.FindAttribute(aNode->ID()))) {
- MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute")
- MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute")
+ MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute");
+ MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute");
}
return aResult;
}
}
catch(HDFexception)
{
- MESSAGE( "HDFexception ! " )
+ MESSAGE("HDFexception ! ");
}
}
orb->destroy();
}
catch(CORBA::SystemException&) {
- MESSAGE("Caught CORBA::SystemException." )
+ MESSAGE("Caught CORBA::SystemException.");
}
catch(CORBA::Exception&) {
- MESSAGE( "Caught CORBA::Exception." )
+ MESSAGE("Caught CORBA::Exception.");
}
catch(omniORB::fatalException& fe) { //!< TODO: unused variable
- MESSAGE( "Caught omniORB::fatalException:" )
- MESSAGE( " file: " << fe.file() )
- MESSAGE( " line: " << fe.line() )
- MESSAGE( " mesg: " << fe.errmsg() )
+ MESSAGE("Caught omniORB::fatalException:");
+ MESSAGE(" file: " << fe.file());
+ MESSAGE(" line: " << fe.line());
+ MESSAGE(" mesg: " << fe.errmsg());
}
catch(...) {
- MESSAGE( "Caught unknown exception." )
+ MESSAGE("Caught unknown exception.");
}
return 0;
}