test_idl.py
Go to the documentation of this file.
00001 # Python stubs generated by omniidl from test.idl
00002 
00003 import omniORB, _omnipy
00004 from omniORB import CORBA, PortableServer
00005 _0_CORBA = CORBA
00006 
00007 _omnipy.checkVersion(3,0, __file__)
00008 
00009 
00010 #
00011 # Start of module "MyData"
00012 #
00013 __name__ = "MyData"
00014 _0_MyData = omniORB.openModule("MyData", r"test.idl")
00015 _0_MyData__POA = omniORB.openModule("MyData__POA", r"test.idl")
00016 
00017 
00018 # struct Bleg
00019 _0_MyData.Bleg = omniORB.newEmptyClass()
00020 class Bleg (omniORB.StructBase):
00021     _NP_RepositoryId = "IDL:MyData/Bleg:1.0"
00022 
00023     def __init__(self, val1, val2):
00024         self.val1 = val1
00025         self.val2 = val2
00026 
00027 _0_MyData.Bleg = Bleg
00028 _0_MyData._d_Bleg  = (omniORB.tcInternal.tv_struct, Bleg, Bleg._NP_RepositoryId, "Bleg", "val1", omniORB.tcInternal.tv_ulong, "val2", omniORB.tcInternal.tv_ulong)
00029 _0_MyData._tc_Bleg = omniORB.tcInternal.createTypeCode(_0_MyData._d_Bleg)
00030 omniORB.registerType(Bleg._NP_RepositoryId, _0_MyData._d_Bleg, _0_MyData._tc_Bleg)
00031 del Bleg
00032 
00033 #
00034 # End of module "MyData"
00035 #
00036 __name__ = "test_idl"
00037 
00038 _exported_modules = ( "MyData", )
00039 
00040 # The end.


rtshell
Author(s): Geoffrey Biggs
autogenerated on Fri Aug 28 2015 12:55:12