From: crouzet Date: Mon, 13 Dec 2010 14:43:00 +0000 (+0000) Subject: patch error of merge from V5_1_5_BR X-Git-Tag: RELIQUAT_5x_15112010~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b7de54098c3f562bf7ac18f0a04f701e67b800c;p=tools%2Fyacsgen.git patch error of merge from V5_1_5_BR --- diff --git a/module_generator/hxx_awk.py b/module_generator/hxx_awk.py index 839f3ca..777e621 100644 --- a/module_generator/hxx_awk.py +++ b/module_generator/hxx_awk.py @@ -33,6 +33,8 @@ cpp2idl_mapping["MEDMEM::FIELD*&"]="out SALOME_MED::FIELDINT" cpp2idl_mapping["const std::vector&"]="in %(module)s::intvec" cpp2idl_mapping["std::vector*&"]="out %(module)s::intvec" cpp2idl_mapping["const ParaMEDMEM::MEDCouplingFieldDouble*"]="in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" +cpp2idl_mapping["const ParaMEDMEM::MEDCouplingFieldDouble&"]="in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" +cpp2idl_mapping["ParaMEDMEM::MEDCouplingFieldDouble*&"]="out SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" # ['stringvec', 'string', 'double', 'long', 'dblevec', 'file', 'intvec', 'dataref', 'GEOM_Object', 'SMESH_Mesh', 'SMESH_Hypothesis', 'SALOME_MED/MED', 'SALOME_MED/MESH', 'SALOME_MED/SUPPORT', 'SALOME_MED/FIELD', 'SALOME_MED/FIELDDOUBLE', 'SALOME_MED/FIELDINT'] cpp2yacs_mapping={} @@ -348,6 +350,8 @@ BEGIN { idl_arg_type["const std::vector&"]="in SALOME::vectorOfLong" idl_arg_type["std::vector*&"]="out SALOME::vectorOfLong" idl_arg_type["const ParaMEDMEM::MEDCouplingFieldDouble*"]="in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" + idl_arg_type["const ParaMEDMEM::MEDCouplingFieldDouble&"]="in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" + idl_arg_type["ParaMEDMEM::MEDCouplingFieldDouble*&"]="out SALOME_MED::MEDCouplingFieldDoubleCorbaInterface" # # # mapping for returned types diff --git a/module_generator/hxx_tmpl.py b/module_generator/hxx_tmpl.py index 0ca5507..3e25a10 100644 --- a/module_generator/hxx_tmpl.py +++ b/module_generator/hxx_tmpl.py @@ -109,7 +109,7 @@ ${compodefs} class ${component}; // forward declaration class ${component}_i: ${inheritedclass} - public POA_${module}::${component}_Gen, + public POA_${module}_ORB::${component}_Gen, public Engines_Component_i, public SALOMEMultiComm { @@ -171,7 +171,7 @@ dist_lib${component}Engine_la_SOURCES = \ ${component}_i.cxx lib${component}Engine_la_CXXFLAGS = -I$$(top_builddir)/idl $$(SALOME_INCLUDES) ${includes} -lib${component}Engine_la_LIBADD = ${libs} -L$$(top_builddir)/idl -l${module} $${SALOME_LIBS} $$(FLIBS) +lib${component}Engine_la_LIBADD = ${libs} -L$$(top_builddir)/idl -lSalomeIDL${module} $${SALOME_LIBS} $$(FLIBS) """