]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix NPAL14451 : Implementation type of components not handled in IDLparser.py
authorvsr <vsr@opencascade.com>
Wed, 10 Jan 2007 07:45:41 +0000 (07:45 +0000)
committervsr <vsr@opencascade.com>
Wed, 10 Jan 2007 07:45:41 +0000 (07:45 +0000)
src/ModuleGenerator/IDLparser.py

index 96ccd6c3747a940df078d26250075b7c93efbe45..0b74eb3afbd5e5aee9c69ed1edd3f6411227c8a2 100644 (file)
@@ -430,6 +430,7 @@ class Component(Tree):
         self.addNamedChild('component-version',    common_data["VERSION"])
         self.addNamedChild('component-comment',    'unknown')
         self.addNamedChild('component-multistudy', common_data["COMP_MULT"])
+        self.addNamedChild('component-impltype',   common_data["COMP_IMPL"])
         self.addNamedChild('component-icone',      common_data["ICON"])
         self.addNamedChild('constraint')
         self.addNamedChild('component-interface-list')
@@ -447,7 +448,7 @@ class Component(Tree):
 
         for i in ['component-username', 'component-author',
                   'component-type', 'component-icone', 'component-version',
-                  'component-multistudy', 'constraint']:
+                  'component-multistudy', 'component-impltype', 'constraint']:
             ext = C.getChild(i)
             int = self.getChild(i)
             if int is None:
@@ -733,7 +734,7 @@ def run(tree, args):
 
 if __name__ == "__main__":
     print
-    print "Usage : omniidl -bIDLparser [-I<catalog files directory>]* -Wbcatalog=<my_catalog.xml>[,icon=<pngfile>][,version=<num>][,author=<name>][,name=<component_name>][,username=<component_username>][,multistudy=<component_multistudy>] <file.idl>"
+    print "Usage : omniidl -bIDLparser [-I<catalog files directory>]* -Wbcatalog=<my_catalog.xml>[,icon=<pngfile>][,version=<num>][,author=<name>][,name=<component_name>][,username=<component_username>][,multistudy=<component_multistudy>][,impltype=<implementation type : 0 (python), 1 (C++)>] <file.idl>"
     print