]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
call _duplicate method for type MEDCouplingFieldDoubleCorbaInterface_ptr BR_WIN_INDUS_514 V5_1_4_BR V5_1_4 V5_1_4_patch01 V5_1_4_patch02 V5_1_4_patch03 V5_1_4rc2 V5_1_4rc3
authorcrouzet <crouzet>
Mon, 17 May 2010 12:31:42 +0000 (12:31 +0000)
committercrouzet <crouzet>
Mon, 17 May 2010 12:31:42 +0000 (12:31 +0000)
scripts/parse3.awk

index 59d889412ddf357b45f811d913a54da1a3a7fd4b..8d3107dc62b8b7b7e306cf8f139827fa1cd417cf 100644 (file)
@@ -179,7 +179,8 @@ BEGIN {
 #  cpp_impl_a["const std::vector<int>&"]="\tlong _%s_size;\n\tint *_%s_value = ReceiverFactory::getValue(%s,_%s_size);\n"\
 #             "\tstd::vector<int> _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;"
   cpp_impl_a["std::vector<int>*&"]="\tstd::vector<int>* _%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