# -*- coding: utf-8 -*-
# **********************************************************************
#
# Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
#
# Ice version 3.6.5
#
# <auto-generated>
#
# Generated from file `ReverseIntensityContext.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#

from sys import version_info as _version_info_
import Ice, IcePy
import omero_model_IObject_ice
import omero_RTypes_ice
import omero_model_RTypes_ice
import omero_System_ice
import omero_Collections_ice
import omero_model_CodomainMapContext_ice

# Included module omero
_M_omero = Ice.openModule('omero')

# Included module omero.model
_M_omero.model = Ice.openModule('omero.model')

# Included module Ice
_M_Ice = Ice.openModule('Ice')

# Included module omero.sys
_M_omero.sys = Ice.openModule('omero.sys')

# Included module omero.api
_M_omero.api = Ice.openModule('omero.api')

# Start of module omero
__name__ = 'omero'

# Start of module omero.model
__name__ = 'omero.model'

if 'ChannelBinding' not in _M_omero.model.__dict__:
    _M_omero.model._t_ChannelBinding = IcePy.declareClass('::omero::model::ChannelBinding')
    _M_omero.model._t_ChannelBindingPrx = IcePy.declareProxy('::omero::model::ChannelBinding')

if 'Details' not in _M_omero.model.__dict__:
    _M_omero.model._t_Details = IcePy.declareClass('::omero::model::Details')
    _M_omero.model._t_DetailsPrx = IcePy.declareProxy('::omero::model::Details')

if 'ReverseIntensityContext' not in _M_omero.model.__dict__:
    _M_omero.model.ReverseIntensityContext = Ice.createTempClass()
    class ReverseIntensityContext(_M_omero.model.CodomainMapContext):
        def __init__(self, _id=None, _details=None, _loaded=False, _version=None, _channelBinding=None, _reverse=None):
            if Ice.getType(self) == _M_omero.model.ReverseIntensityContext:
                raise RuntimeError('omero.model.ReverseIntensityContext is an abstract class')
            _M_omero.model.CodomainMapContext.__init__(self, _id, _details, _loaded, _version, _channelBinding)
            self._reverse = _reverse

        def ice_ids(self, current=None):
            return ('::Ice::Object', '::omero::model::CodomainMapContext', '::omero::model::IObject', '::omero::model::ReverseIntensityContext')

        def ice_id(self, current=None):
            return '::omero::model::ReverseIntensityContext'

        def ice_staticId():
            return '::omero::model::ReverseIntensityContext'
        ice_staticId = staticmethod(ice_staticId)

        def getReverse(self, current=None):
            pass

        def setReverse(self, theReverse, current=None):
            pass

        def __str__(self):
            return IcePy.stringify(self, _M_omero.model._t_ReverseIntensityContext)

        __repr__ = __str__

    _M_omero.model.ReverseIntensityContextPrx = Ice.createTempClass()
    class ReverseIntensityContextPrx(_M_omero.model.CodomainMapContextPrx):

        def getReverse(self, _ctx=None):
            return _M_omero.model.ReverseIntensityContext._op_getReverse.invoke(self, ((), _ctx))

        def begin_getReverse(self, _response=None, _ex=None, _sent=None, _ctx=None):
            return _M_omero.model.ReverseIntensityContext._op_getReverse.begin(self, ((), _response, _ex, _sent, _ctx))

        def end_getReverse(self, _r):
            return _M_omero.model.ReverseIntensityContext._op_getReverse.end(self, _r)

        def setReverse(self, theReverse, _ctx=None):
            return _M_omero.model.ReverseIntensityContext._op_setReverse.invoke(self, ((theReverse, ), _ctx))

        def begin_setReverse(self, theReverse, _response=None, _ex=None, _sent=None, _ctx=None):
            return _M_omero.model.ReverseIntensityContext._op_setReverse.begin(self, ((theReverse, ), _response, _ex, _sent, _ctx))

        def end_setReverse(self, _r):
            return _M_omero.model.ReverseIntensityContext._op_setReverse.end(self, _r)

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_omero.model.ReverseIntensityContextPrx.ice_checkedCast(proxy, '::omero::model::ReverseIntensityContext', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_omero.model.ReverseIntensityContextPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

        def ice_staticId():
            return '::omero::model::ReverseIntensityContext'
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_ReverseIntensityContextPrx = IcePy.defineProxy('::omero::model::ReverseIntensityContext', ReverseIntensityContextPrx)

    _M_omero.model._t_ReverseIntensityContext = IcePy.declareClass('::omero::model::ReverseIntensityContext')

    _M_omero.model._t_ReverseIntensityContext = IcePy.defineClass('::omero::model::ReverseIntensityContext', ReverseIntensityContext, -1, (), True, False, _M_omero.model._t_CodomainMapContext, (), (('_reverse', (), _M_omero._t_RBool, False, 0),))
    ReverseIntensityContext._ice_type = _M_omero.model._t_ReverseIntensityContext

    ReverseIntensityContext._op_getReverse = IcePy.Operation('getReverse', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero._t_RBool, False, 0), ())
    ReverseIntensityContext._op_setReverse = IcePy.Operation('setReverse', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero._t_RBool, False, 0),), (), None, ())

    _M_omero.model.ReverseIntensityContext = ReverseIntensityContext
    del ReverseIntensityContext

    _M_omero.model.ReverseIntensityContextPrx = ReverseIntensityContextPrx
    del ReverseIntensityContextPrx

# End of module omero.model

__name__ = 'omero'

# End of module omero
