# Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/ziop.idl
# DO NOT EDIT THIS FILE!

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA


_omnipy.checkVersion(4,2, __file__, 1)

try:
    property
except NameError:
    def property(*args):
        return None


# #include "corbaidl.idl"
import corbaidl_idl
_0_CORBA = omniORB.openModule("omniORB.CORBA")
_0_CORBA__POA = omniORB.openModule("omniORB.CORBA__POA")

# #include "compression.idl"
import compression_idl
_0_Compression = omniORB.openModule("omniORB.Compression")
_0_Compression__POA = omniORB.openModule("omniORB.Compression__POA")

#
# Start of module "ZIOP"
#
__name__ = "omniORB.ZIOP"
_0_ZIOP = omniORB.openModule("omniORB.ZIOP", r"/tmp/corba/omni/share/idl/omniORB/ziop.idl")
_0_ZIOP__POA = omniORB.openModule("omniORB.ZIOP__POA", r"/tmp/corba/omni/share/idl/omniORB/ziop.idl")


# typedef ... PolicyType
class PolicyType:
    _NP_RepositoryId = "IDL:omg.org/ZIOP/PolicyType:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_ZIOP.PolicyType = PolicyType
_0_ZIOP._d_PolicyType  = omniORB.tcInternal.tv_ulong
_0_ZIOP._ad_PolicyType = (omniORB.tcInternal.tv_alias, PolicyType._NP_RepositoryId, "PolicyType", omniORB.tcInternal.tv_ulong)
_0_ZIOP._tc_PolicyType = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_PolicyType)
omniORB.registerType(PolicyType._NP_RepositoryId, _0_ZIOP._ad_PolicyType, _0_ZIOP._tc_PolicyType)
del PolicyType

# struct CompressedData
_0_ZIOP.CompressedData = omniORB.newEmptyClass()
class CompressedData (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressedData:1.0"

    def __init__(self, compressorid, original_length, data):
        self.compressorid = compressorid
        self.original_length = original_length
        self.data = data

_0_ZIOP.CompressedData = CompressedData
_0_ZIOP._d_CompressedData  = (omniORB.tcInternal.tv_struct, CompressedData, CompressedData._NP_RepositoryId, "CompressedData", "compressorid", omniORB.typeMapping["IDL:omg.org/Compression/CompressorId:1.0"], "original_length", omniORB.tcInternal.tv_ulong, "data", omniORB.typeMapping["IDL:omg.org/Compression/Buffer:1.0"])
_0_ZIOP._tc_CompressedData = omniORB.tcInternal.createTypeCode(_0_ZIOP._d_CompressedData)
omniORB.registerType(CompressedData._NP_RepositoryId, _0_ZIOP._d_CompressedData, _0_ZIOP._tc_CompressedData)
del CompressedData

# typedef ... CompressionEnablingPolicyValue
class CompressionEnablingPolicyValue:
    _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionEnablingPolicyValue:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_ZIOP.CompressionEnablingPolicyValue = CompressionEnablingPolicyValue
_0_ZIOP._d_CompressionEnablingPolicyValue  = omniORB.tcInternal.tv_boolean
_0_ZIOP._ad_CompressionEnablingPolicyValue = (omniORB.tcInternal.tv_alias, CompressionEnablingPolicyValue._NP_RepositoryId, "CompressionEnablingPolicyValue", omniORB.tcInternal.tv_boolean)
_0_ZIOP._tc_CompressionEnablingPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionEnablingPolicyValue)
omniORB.registerType(CompressionEnablingPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionEnablingPolicyValue, _0_ZIOP._tc_CompressionEnablingPolicyValue)
del CompressionEnablingPolicyValue

# typedef ... CompressionIdLevelListPolicyValue
class CompressionIdLevelListPolicyValue:
    _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionIdLevelListPolicyValue:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_ZIOP.CompressionIdLevelListPolicyValue = CompressionIdLevelListPolicyValue
_0_ZIOP._d_CompressionIdLevelListPolicyValue  = omniORB.typeMapping["IDL:omg.org/Compression/CompressorIdLevelList:1.0"]
_0_ZIOP._ad_CompressionIdLevelListPolicyValue = (omniORB.tcInternal.tv_alias, CompressionIdLevelListPolicyValue._NP_RepositoryId, "CompressionIdLevelListPolicyValue", omniORB.typeCodeMapping["IDL:omg.org/Compression/CompressorIdLevelList:1.0"]._d)
_0_ZIOP._tc_CompressionIdLevelListPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionIdLevelListPolicyValue)
omniORB.registerType(CompressionIdLevelListPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionIdLevelListPolicyValue, _0_ZIOP._tc_CompressionIdLevelListPolicyValue)
del CompressionIdLevelListPolicyValue

# typedef ... CompressionLowValuePolicyValue
class CompressionLowValuePolicyValue:
    _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionLowValuePolicyValue:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_ZIOP.CompressionLowValuePolicyValue = CompressionLowValuePolicyValue
_0_ZIOP._d_CompressionLowValuePolicyValue  = omniORB.tcInternal.tv_ulong
_0_ZIOP._ad_CompressionLowValuePolicyValue = (omniORB.tcInternal.tv_alias, CompressionLowValuePolicyValue._NP_RepositoryId, "CompressionLowValuePolicyValue", omniORB.tcInternal.tv_ulong)
_0_ZIOP._tc_CompressionLowValuePolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionLowValuePolicyValue)
omniORB.registerType(CompressionLowValuePolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionLowValuePolicyValue, _0_ZIOP._tc_CompressionLowValuePolicyValue)
del CompressionLowValuePolicyValue

# typedef ... CompressionMinRatioPolicyValue
class CompressionMinRatioPolicyValue:
    _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionMinRatioPolicyValue:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_ZIOP.CompressionMinRatioPolicyValue = CompressionMinRatioPolicyValue
_0_ZIOP._d_CompressionMinRatioPolicyValue  = omniORB.typeMapping["IDL:omg.org/Compression/CompressionRatio:1.0"]
_0_ZIOP._ad_CompressionMinRatioPolicyValue = (omniORB.tcInternal.tv_alias, CompressionMinRatioPolicyValue._NP_RepositoryId, "CompressionMinRatioPolicyValue", omniORB.typeCodeMapping["IDL:omg.org/Compression/CompressionRatio:1.0"]._d)
_0_ZIOP._tc_CompressionMinRatioPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionMinRatioPolicyValue)
omniORB.registerType(CompressionMinRatioPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionMinRatioPolicyValue, _0_ZIOP._tc_CompressionMinRatioPolicyValue)
del CompressionMinRatioPolicyValue
_0_ZIOP.COMPRESSION_ENABLING_POLICY_ID = 64
_0_ZIOP.COMPRESSOR_ID_LEVEL_LIST_POLICY_ID = 65
_0_ZIOP.COMPRESSION_LOW_VALUE_POLICY_ID = 66
_0_ZIOP.COMPRESSION_MIN_RATIO_POLICY_ID = 67

#
# End of module "ZIOP"
#
__name__ = "ziop_idl"

_exported_modules = ( "omniORB.ZIOP", )

# The end.
