X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=module_generator%2Fhxxcompo.py;h=94d8220e39d0bc615113a0e2f4c0359bf5966ca5;hb=cf4e05579f38a75fa33567c115ce56a07a220917;hp=5b8cc706af88c8be0b13f5a35e31d3a6b8a7ea9b;hpb=3a58b93e4409bdf654de769bf98217be05377319;p=tools%2Fyacsgen.git diff --git a/module_generator/hxxcompo.py b/module_generator/hxxcompo.py index 5b8cc70..94d8220 100644 --- a/module_generator/hxxcompo.py +++ b/module_generator/hxxcompo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2009-2014 EDF R&D +# Copyright (C) 2009-2015 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -280,7 +280,7 @@ class HXX2SALOMEComponent(Component): # find out if component uses medmem types and/or medcoupling types for (argname,argtype) in inports + outports + [("return",Return)]: if moduleTypes[argtype]=="MED": - if argtype.count("Coupling")>0: + if argtype.count("CorbaInterface")>0: self.use_medcoupling=True else: self.use_medmem=True @@ -328,11 +328,14 @@ class HXX2SALOMEComponent(Component): #include CORBA_CLIENT_HEADER(MEDCouplingCorbaServant) #include "MEDCouplingFieldDoubleServant.hxx" #include "MEDCouplingUMeshServant.hxx" +#include "DataArrayDoubleServant.hxx" #include "MEDCouplingFieldDouble.hxx" #include "MEDCouplingUMesh.hxx" #include "MEDCouplingUMeshClient.hxx" #include "MEDCouplingFieldDouble.hxx" #include "MEDCouplingFieldDoubleClient.hxx" +#include "MEDCouplingMemArray.hxx" +#include "DataArrayDoubleClient.hxx" """ Component.__init__(self, name, services, impl="CPP", libs=Libs,