From: crouzet Date: Mon, 17 May 2010 12:31:42 +0000 (+0000) Subject: call _duplicate method for type MEDCouplingFieldDoubleCorbaInterface_ptr X-Git-Tag: V5_1_4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV5_1_4_BR;p=tools%2Fhxx2salome.git call _duplicate method for type MEDCouplingFieldDoubleCorbaInterface_ptr --- diff --git a/scripts/parse3.awk b/scripts/parse3.awk index 59d8894..8d3107d 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -179,7 +179,8 @@ BEGIN { # cpp_impl_a["const std::vector&"]="\tlong _%s_size;\n\tint *_%s_value = ReceiverFactory::getValue(%s,_%s_size);\n"\ # "\tstd::vector _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;" cpp_impl_a["std::vector*&"]="\tstd::vector* _%s;\n" - cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble*"]="\tParaMEDMEM::MEDCouplingFieldDouble* _%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n" + cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble*"]="\tSALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_duplicate(%s);\n"\ + "\tParaMEDMEM::MEDCouplingFieldDouble* _%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n" # # # table for c++ code generation : returned value processing