DSC_EnginesSK.cc \
SALOME_PortsSK.cc \
Calcium_PortsSK.cc \
- Calcium_PortsDynSK.cc \
Palm_PortsSK.cc
+DYNIDL_SOURCES=\
+ Calcium_PortsDynSK.cc
+
MPIIDL_SOURCES = \
SALOME_MPIObjectSK.cc \
SALOME_MPIContainerSK.cc \
IDL_SOURCES += $(MPIIDL_SOURCES)
endif
+
+STATIDL_SOURCES=$(BASEIDL_SOURCES)
+if MPI_IS_OK
+ STATIDL_SOURCES += $(MPIIDL_SOURCES)
+endif
+
+IDL_SOURCES += $(DYNIDL_SOURCES)
+
# also install all generated headers to use result library from another modules
-#salomeinclude_DATA= $(IDL_SOURCES:%SK.cc=%.hh)
+salomeinclude_DATA= $(STATIDL_SOURCES:%SK.cc=%.hh)
if WITH_PACO_PARALLEL
PAR = SALOME_ComponentPaCO.h SALOME_ComponentPaCO.cc \
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
-timestamp='2006-07-02'
+timestamp='2006-02-23'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
exit ;;
macppc:MirBSD:*:*)
- echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ echo powerppc-unknown-mirbsd${UNAME_RELEASE}
exit ;;
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
case ${UNAME_MACHINE} in
pc98)
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- amd64)
- echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
esac
i*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
+ i*:MSYS_NT-*:*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
i*:windows32*:*)
# uname -m includes "-pc" on this system.
echo ${UNAME_MACHINE}-mingw32
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- x86:Interix*:[3456]*)
+ x86:Interix*:[345]*)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
- EM64T:Interix*:[3456]*)
+ EM64T:Interix*:[345]*)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- avr32*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
cris:Linux:*:*)
echo cris-axis-linux-gnu
exit ;;
LIBC=gnulibc1
# endif
#else
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
+ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
LIBC=gnu
#else
LIBC=gnuaout
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
-timestamp='2006-09-20'
+timestamp='2006-02-23'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
| bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
- | m32c | m32r | m32rle | m68000 | m68k | m88k \
- | maxq | mb | microblaze | mcore \
+ | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
- | score \
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
- | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
- | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- | spu | strongarm \
+ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b \
+ | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
| we32k \
- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
+ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k)
basic_machine=$basic_machine-unknown
;;
+ m32c)
+ basic_machine=$basic_machine-unknown
+ ;;
m6811 | m68hc11 | m6812 | m68hc12)
# Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
- | avr-* | avr32-* \
+ | avr-* \
| bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
| clipper-* | craynv-* | cydra-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* | iq2000-* \
- | m32c-* | m32r-* | m32rle-* \
+ | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | maxq-* | mcore-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
| sparclite-* \
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
| tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
| xstormy16-* | xtensa-* \
| ymp-* \
| z8k-*)
;;
+ m32c-*)
+ ;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd)
sb1el)
basic_machine=mipsisa64sb1el-unknown
;;
- sde)
- basic_machine=mipsisa32-sde
- os=-elf
- ;;
sei)
basic_machine=mips-sei
os=-seiux
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
- sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+ sparc | sparcv8 | sparcv9 | sparcv9b)
basic_machine=sparc-sun
;;
cydra)
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers*)
+ | -skyos* | -haiku* | -rdos*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
# system, and we'll never get to this point.
case $basic_machine in
- score-*)
- os=-elf
- ;;
- spu-*)
- os=-elf
- ;;
*-acorn)
os=-riscix1.2
;;
arm*-semi)
os=-aout
;;
- c4x-* | tic4x-*)
- os=-coff
- ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
# This must come before the *-dec entry.
pdp10-*)
os=-tops20
Generic servant class for senders that factorizes all the common methods and attributes necessary to senders.
All servant classes for senders have to inheritate from it.
*/
-class COMMUNICATION_EXPORT SALOME_Sender_i : public virtual POA_SALOME::Sender,
- public PortableServer::RefCountServantBase {
+class COMMUNICATION_EXPORT SALOME_Sender_i : public virtual POA_SALOME::Sender
+{
protected:
/*! Pointer to the generic array to transmit*/
const void *_tabToSend;
#include CORBA_SERVER_HEADER(SALOME_Comm)
#include "SALOMEMultiComm.hxx"
-class SALOME_Matrix_i : public virtual POA_SALOME::Matrix,
- public PortableServer::RefCountServantBase {
+class SALOME_Matrix_i : public virtual POA_SALOME::Matrix
+{
private:
const double *_tabToSend;
int _nbOfRow;
class CONTAINER_EXPORT Engines_Component_i:
public virtual POA_Engines::Component,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
Engines_Component_i();
class SALOME_NamingService;
class CONTAINER_EXPORT SALOME_ContainerManager:
- public POA_Engines::ContainerManager,
- public PortableServer::RefCountServantBase
+ public POA_Engines::ContainerManager
{
public:
class CONTAINER_EXPORT Engines_Container_i:
public virtual POA_Engines::Container,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
Engines_Container_i();
class CONTAINER_EXPORT fileRef_i:
public virtual POA_Engines::fileRef,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
fileRef_i();
class CONTAINER_EXPORT fileTransfer_i:
public virtual POA_Engines::fileTransfer,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
fileTransfer_i();
class LOGGER_EXPORT Logger :
- public POA_SALOME_Logger::Logger,
- public PortableServer::RefCountServantBase
+ public POA_SALOME_Logger::Logger
{
public:
//constructor w/o parameters
#include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
-class MODULECATALOG_EXPORT SALOME_ModuleCatalog_AcomponentImpl: public POA_SALOME_ModuleCatalog::Acomponent,
- public PortableServer::RefCountServantBase
+class MODULECATALOG_EXPORT SALOME_ModuleCatalog_AcomponentImpl: public POA_SALOME_ModuleCatalog::Acomponent
{
public:
//! standard constructor
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
-class MODULECATALOG_EXPORT SALOME_ModuleCatalogImpl: public POA_SALOME_ModuleCatalog::ModuleCatalog,
- public PortableServer::RefCountServantBase
+class MODULECATALOG_EXPORT SALOME_ModuleCatalogImpl: public POA_SALOME_ModuleCatalog::ModuleCatalog
{
public:
//! standard constructor
#include CORBA_SERVER_HEADER(nstest)
class NSTEST_echo_i : public virtual POA_NSTEST::echo,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
NSTEST_echo_i();
};
class NSTEST_aFactory_i : public virtual POA_NSTEST::aFactory,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
public:
NSTEST_aFactory_i();
#include <TDF_Label.hxx>
class SALOMEDS_BasicAttribute_i: public POA_SALOMEDS::BasicAttribute,
- public PortableServer::RefCountServantBase {
+ public PortableServer::ServantBase {
protected:
TDF_Label _Lab;
#include CORBA_SERVER_HEADER(SALOMEDS)
class SALOMEDS_Callback_i: public virtual POA_SALOMEDS::Callback,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
private:
SALOMEDS::UseCaseBuilder_var _builder;
#include <stdio.h>
class SALOMEDS_ChildIterator_i: public virtual POA_SALOMEDS::ChildIterator,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
private:
#include "SALOMEDSImpl_GenericAttribute.hxx"
class Standard_EXPORT SALOMEDS_GenericAttribute_i: public virtual POA_SALOMEDS::GenericAttribute,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
#include <stdio.h>
class SALOMEDS_SAttribute_i: public POA_IStudy::SAttribute,
- public PortableServer::RefCountServantBase {
+ public PortableServer::ServantBase {
private:
CORBA::ORB_ptr _orb;
char* _Type;
#include "SALOMEDSImpl_SComponentIterator.hxx"
class SALOMEDS_SComponentIterator_i:public virtual POA_SALOMEDS::SComponentIterator,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
#include "SALOMEDSImpl_SObject.hxx"
class Standard_EXPORT SALOMEDS_SObject_i: public virtual POA_SALOMEDS::SObject,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
protected:
void SALOMEDS_StudyBuilder::DefineComponentInstance (const _PTR(SComponent)& theSCO,
const std::string& ComponentIOR)
{
- if(theSCO) return;
+ if(!theSCO) return;
SALOMEDS_SComponent* aSCO = dynamic_cast<SALOMEDS_SComponent*>(theSCO.get());
if (_isLocal) {
// Cascade header
#include <TDocStd_Document.hxx>
-class SALOMEDS_StudyBuilder_i: public POA_SALOMEDS::StudyBuilder,
- public PortableServer::RefCountServantBase
+class SALOMEDS_StudyBuilder_i: public POA_SALOMEDS::StudyBuilder
{
private:
CORBA::ORB_ptr _orb;
}
-class Standard_EXPORT SALOMEDS_StudyManager_i: public POA_SALOMEDS::StudyManager,
- public PortableServer::RefCountServantBase {
+class Standard_EXPORT SALOMEDS_StudyManager_i: public POA_SALOMEDS::StudyManager
+{
private:
CORBA::ORB_ptr _orb;
#include "SALOMEDSImpl_Study.hxx"
#include "SALOMEDSImpl_AttributeIOR.hxx"
-class Standard_EXPORT SALOMEDS_Study_i: public POA_SALOMEDS::Study,
- public PortableServer::RefCountServantBase
+class Standard_EXPORT SALOMEDS_Study_i: public POA_SALOMEDS::Study
{
private:
CORBA::ORB_ptr _orb;
#include "SALOMEDSImpl_UseCaseBuilder.hxx"
class SALOMEDS_UseCaseBuilder_i: public virtual POA_SALOMEDS::UseCaseBuilder,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
private:
#include "SALOMEDSImpl_UseCaseIterator.hxx"
class SALOMEDS_UseCaseIterator_i: public virtual POA_SALOMEDS::UseCaseIterator,
- public virtual PortableServer::RefCountServantBase,
+ public virtual PortableServer::ServantBase,
public virtual SALOME::GenericObj_i
{
private:
# ===============================================================
#
lib_LTLIBRARIES = libSALOMEDSTest.la
-libSALOMEDSTest_la_SOURCES = SALOMEDSTest.cxx
+dist_libSALOMEDSTest_la_SOURCES = SALOMEDSTest.cxx
libSALOMEDSTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
libSALOMEDSTest_la_LDFLAGS = -no-undefined -version-info=0:0:0
libSALOMEDSTest_la_LIBADD = $(COMMON_LIBS)
+EXTRA_DIST = \
+ SALOMEDSTest_AttributeComment.cxx \
+ SALOMEDSTest_AttributeDrawable.cxx \
+ SALOMEDSTest_AttributeExpandable.cxx \
+ SALOMEDSTest_AttributeExternalFileDef.cxx \
+ SALOMEDSTest_AttributeFileType.cxx \
+ SALOMEDSTest_AttributeFlags.cxx \
+ SALOMEDSTest_AttributeGraphic.cxx \
+ SALOMEDSTest_AttributeInteger.cxx \
+ SALOMEDSTest_AttributeIOR.cxx \
+ SALOMEDSTest_AttributeLocalID.cxx \
+ SALOMEDSTest_AttributeName.cxx \
+ SALOMEDSTest_AttributeOpened.cxx \
+ SALOMEDSTest_AttributeParameter.cxx \
+ SALOMEDSTest_AttributePersistentRef.cxx \
+ SALOMEDSTest_AttributePixMap.cxx \
+ SALOMEDSTest_AttributePythonObject.cxx \
+ SALOMEDSTest_AttributeReal.cxx \
+ SALOMEDSTest_AttributeSelectable.cxx \
+ SALOMEDSTest_AttributeSequenceOfInteger.cxx \
+ SALOMEDSTest_AttributeSequenceOfReal.cxx \
+ SALOMEDSTest_AttributeStudyProperties.cxx \
+ SALOMEDSTest_AttributeTableOfInteger.cxx \
+ SALOMEDSTest_AttributeTableOfReal.cxx \
+ SALOMEDSTest_AttributeTableOfString.cxx \
+ SALOMEDSTest_AttributeTarget.cxx \
+ SALOMEDSTest_AttributeTextColor.cxx \
+ SALOMEDSTest_AttributeTextHighlightColor.cxx\
+ SALOMEDSTest_AttributeTreeNode.cxx \
+ SALOMEDSTest_AttributeUserID.cxx \
+ SALOMEDSTest_ChildIterator.cxx \
+ SALOMEDSTest_SComponent.cxx \
+ SALOMEDSTest_SComponentIterator.cxx \
+ SALOMEDSTest_SObject.cxx \
+ SALOMEDSTest_StudyBuilder.cxx \
+ SALOMEDSTest_Study.cxx \
+ SALOMEDSTest_StudyManager.cxx \
+ SALOMEDSTest_UseCase.cxx
+
#
# ===============================================================
# Executables targets
# ===============================================================
#
bin_PROGRAMS = TestSALOMEDS
-TestSALOMEDS_SOURCES = TestSALOMEDS.cxx
+dist_TestSALOMEDS_SOURCES = TestSALOMEDS.cxx
TestSALOMEDS_CPPFLAGS = $(COMMON_CPPFLAGS)
TestSALOMEDS_LDADD = \
libSALOMEDSTest.la ../libSalomeDS.la \
//The macro adds all necessary checks for standardly behaiving attributes
__FindOrCreateAttributeForBuilder
-
+
+
//Add checks for TreeNode and UserID attributes
if (strncmp(aTypeOfAttribute.ToCString(), "AttributeTreeNode",17) == 0 ) {
+
Standard_GUID aTreeNodeGUID;
if (strcmp(aTypeOfAttribute.ToCString(), "AttributeTreeNode") == 0) {
aTreeNodeGUID = SALOMEDSImpl_AttributeTreeNode::GetDefaultTreeID();
} else {
- char* aGUIDString = new char[40];
+ char* aGUIDString = new char[41];
char* aType = (char*)aTypeOfAttribute.ToCString();
sprintf(aGUIDString, &(aType[17]));
if(!Standard_GUID::CheckGUIDFormat(aGUIDString)) {
if (strcmp(aTypeOfAttribute.ToCString(), "AttributeUserID") == 0) {
aUserGUID = SALOMEDSImpl_AttributeUserID::DefaultID();
} else {
- char* aGUIDString = new char[40];
+ char* aGUIDString = new char[41];
char* aType = (char*)aTypeOfAttribute.ToCString();
sprintf(aGUIDString, &(aType[15]));
if(!Standard_GUID::CheckGUIDFormat(aGUIDString)) {
Handle(TDF_Attribute) anAttr;
- char* current_string = new char[hdf_dataset->GetSize()];
+ char* current_string = new char[hdf_dataset->GetSize()+1];
hdf_dataset->ReadFromDisk(current_string);
-
+
if (!strcmp(hdf_dataset->GetName(),"COMPONENTDATATYPE")) {
anAttr = theStudy->NewBuilder()->FindOrCreateAttribute(aSO, "AttributeComment");
} else if (!strcmp(hdf_dataset->GetName(),"AttributeReference") ||
} else {
anAttr = theStudy->NewBuilder()->FindOrCreateAttribute(aSO, hdf_dataset->GetName());
}
-
+
if (!anAttr.IsNull()) {
Handle(SALOMEDSImpl_GenericAttribute) ga = Handle(SALOMEDSImpl_GenericAttribute)::DownCast(anAttr);
ga->Load(current_string);
//cout << "Reading: " << aSO->GetID() << " "<< ga->Type() << " value: " << current_string << endl;
}
-
+
delete(current_string);
hdf_dataset->CloseOnDisk();
}