]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
Modification of CorbaType, Corna_out_type and Corba_rtn_type : V5_1_5rc1
authorcrouzet <crouzet>
Mon, 25 Oct 2010 10:16:17 +0000 (10:16 +0000)
committercrouzet <crouzet>
Mon, 25 Oct 2010 10:16:17 +0000 (10:16 +0000)
append "_ORB" to the name of module

module_generator/yacstypes.py

index 07e33d9eef49213c69c576c188f6972c186c92c5..8aa90f1bad396ace6212c3ad7bb9814bcea94b8c 100644 (file)
@@ -46,19 +46,19 @@ corbaRtnTypes = {"double":"CORBA::Double", "long":"CORBA::Long",
 
 def corba_in_type(typ, module):
   if corbaTypes[typ].count("%s")>0:
-    return corbaTypes[typ] % module
+    return corbaTypes[typ] % (module+"_ORB")
   else:
     return corbaTypes[typ]
 
 def corba_out_type(typ, module):
   if corbaOutTypes[typ].count("%s")>0:
-    return corbaOutTypes[typ] % module
+    return corbaOutTypes[typ] % (module+"_ORB")
   else:
     return corbaOutTypes[typ]
 
 def corba_rtn_type(typ, module):
   if corbaRtnTypes[typ].count("%s")>0:
-    return corbaRtnTypes[typ] % module
+    return corbaRtnTypes[typ] % (module+"_ORB")
   else:
     return corbaRtnTypes[typ]