Go to the documentation of this file.00001
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
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
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
00035
00036 __name__ = "test_idl"
00037
00038 _exported_modules = ( "MyData", )
00039
00040