From aa171fcba9328bc16db408e4e4e0dff4d26d0c48 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 24 Dec 2010 08:24:15 +0000 Subject: [PATCH] Merge from V6_2_BR 23/12/2010 --- module_generator/hxxcompo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_generator/hxxcompo.py b/module_generator/hxxcompo.py index 1d551e7..7044339 100644 --- a/module_generator/hxxcompo.py +++ b/module_generator/hxxcompo.py @@ -191,6 +191,8 @@ class HXX2SALOMEComponent(Component): # Create a list of services, and give it to Component constructor services=[] from hxx_awk import cpp2yacs_mapping + self.use_medmem=False + self.use_medcoupling=False for serv in list_of_services: # for inports and outports, Service class expects a list of tuples, each tuple containing the name and the yacs type of the port # thus we need to convert c++ types to yacs types (we use for that the cpp2yacs_mapping table @@ -206,8 +208,6 @@ class HXX2SALOMEComponent(Component): Return=cpp2yacs_mapping[service_definition[serv]["ret"]] # find out if component uses medmem types and/or medcoupling types - self.use_medmem=False - self.use_medcoupling=False for (argname,argtype) in inports + outports + [("return",Return)]: if moduleTypes[argtype]=="MED": if argtype.count("Coupling")>0: -- 2.39.2