#ifdef HAVE_SOCKET
+//CCRT porting
+#define _POSIX_PII_SOCKET
+#define _LIBC_POLLUTION_H_
+
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
delete [] _argsForThr;
}
+//CCRT porting
+#undef _LIBC_POLLUTION_H_
+#undef _POSIX_PII_SOCKET
+
#endif
#ifndef _SALOME_COMM_I_HXX_
#define _SALOME_COMM_I_HXX_
-#include <set.h>
#include <string>
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Comm)
public SALOME_Sender_i
{
public:
- SALOME_CorbaDoubleCSender_i(const double *tabToSend,const long lgrTabToSend);
+ SALOME_CorbaDoubleCSender_i(const double *tabToSend,long lgrTabToSend);
~SALOME_CorbaDoubleCSender_i();
CORBA::ULong getSize();
SALOME::vectorOfDouble* sendPart(CORBA::ULong offset, CORBA::ULong length);
public SALOME_Sender_i
{
public:
- SALOME_CorbaLongNCSender_i(const int *tabToSend,const long lgrTabToSend);
+ SALOME_CorbaLongNCSender_i(const int *tabToSend,long lgrTabToSend);
~SALOME_CorbaLongNCSender_i();
CORBA::ULong getSize();
SALOME::vectorOfLong* sendPart(CORBA::ULong offset, CORBA::ULong length);
#endif
// Creation du Dataset utilisateur
- hdf_dataset = new HDFdataset::HDFdataset( (char *) nomdataset.c_str(), /*discard const */
+ hdf_dataset = new HDFdataset( (char *) nomdataset.c_str(), /*discard const */
(HDFcontainerObject*) &hdf_container, /*discard const, pas de constructeur par référence */
HDF_STRING,
&length_long,1);
SALOME_Component.idl \
SALOME_ModuleCatalog.idl \
SALOME_Registry.idl \
- SALOME_Exception.idl
+ SALOME_Exception.idl Logger.idl
CPPFLAGS+=$(QT_MT_INCLUDES)
CXXFLAGS+=$(OCC_CXXFLAGS)
LIB = libSalomeMPIContainer.la
LIB_SRC = MPIObject_i.cxx MPIContainer_i.cxx
+LIB_CLIENT_IDL = SALOME_Component.idl
LIB_SERVER_IDL = SALOME_MPIObject.idl SALOME_MPIContainer.idl
# Executables targets
SALOME_ModuleCatalog_impl.cxx \
SALOME_ModuleCatalog_Acomponent_impl.cxx
-CXXFLAGS+=-ftemplate-depth-32
+CXXFLAGS+=@CXXTMPDPTHFLAGS@
# Executables targets
# trouble we have client and serveur and build don't known about this with rule
# in fact client is a test ! So it may go away BIN !
BIN = SALOME_ModuleCatalog_Server SALOME_ModuleCatalog_Client
BIN_SRC =
+LIB_CLIENT_IDL = SALOME_ModuleCatalog.idl
BIN_SERVER_IDL = SALOME_ModuleCatalog.idl
CPPFLAGS+= $(QT_MT_INCLUDES)
// Module : SALOME
// $Header$
-using namespace std;
#include "SALOMEDS_AttributeGraphic_i.hxx"
#include "SALOMEDS_SObject_i.hxx"
+using namespace std;
/*
Class : SALOMEDS_AttributeGraphic_i
* Purpose :
*/
//============================================================================
-CORBA::Boolean SALOMEDS_SObject_i::FindSubObject(long atag, SALOMEDS::SObject_out obj)
+CORBA::Boolean SALOMEDS_SObject_i::FindSubObject(CORBA::Long atag, SALOMEDS::SObject_out obj)
{
TDF_Label L = _lab.FindChild(atag,false);
if (L.IsNull()) return false;
virtual SALOMEDS::SObject_ptr GetFather() ;
virtual CORBA::Boolean FindAttribute(SALOMEDS::GenericAttribute_out anAttribute, const char* aTypeOfAttribute);
virtual CORBA::Boolean ReferencedObject(SALOMEDS::SObject_out obj) ;
- virtual CORBA::Boolean FindSubObject(long atag, SALOMEDS::SObject_out obj );
+ virtual CORBA::Boolean FindSubObject(CORBA::Long atag, SALOMEDS::SObject_out obj );
virtual SALOMEDS::Study_ptr GetStudy() ;
virtual char* Name();
// MESSAGE( "HDFexception ! " );
// cerr << "HDFexception ! " << endl;
delete aHDFUrl;
- char eStr[strlen(aUrl)+17];
+// char eStr[strlen(aUrl)+17];
+ char *eStr = new char[strlen(aUrl)+17+1];
sprintf(eStr,"Can't open file %s",aUrl);
THROW_SALOME_CORBA_EXCEPTION(CORBA::string_dup(eStr),SALOME::BAD_PARAM);
// MESSAGE( "HDFexception ! " );
// cerr << "HDFexception ! " << endl;
delete aHDFUrl;
- char eStr[strlen(aUrl)+17];
+ char *eStr=new char[strlen(aUrl)+17];
sprintf(eStr,"Can't open file %s",aUrl);
THROW_SALOME_CORBA_EXCEPTION(CORBA::string_dup(eStr),SALOME::BAD_PARAM);
}