# Python stubs generated by omniidl from .././../idl/MEDCouplingCorbaServantTest.idl

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

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "MEDCouplingCorbaServant.idl"
import MEDCouplingCorbaServant_idl
_0_SALOME_MED = omniORB.openModule("SALOME_MED")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA")

#
# Start of module "SALOME_TEST"
#
__name__ = "SALOME_TEST"
_0_SALOME_TEST = omniORB.openModule("SALOME_TEST", r".././../idl/MEDCouplingCorbaServantTest.idl")
_0_SALOME_TEST__POA = omniORB.openModule("SALOME_TEST__POA", r".././../idl/MEDCouplingCorbaServantTest.idl")


# interface MEDCouplingMeshFieldFactory
_0_SALOME_TEST._d_MEDCouplingMeshFieldFactory = (omniORB.tcInternal.tv_objref, "IDL:SALOME_TEST/MEDCouplingMeshFieldFactory:1.0", "MEDCouplingMeshFieldFactory")
omniORB.typeMapping["IDL:SALOME_TEST/MEDCouplingMeshFieldFactory:1.0"] = _0_SALOME_TEST._d_MEDCouplingMeshFieldFactory
_0_SALOME_TEST.MEDCouplingMeshFieldFactory = omniORB.newEmptyClass()
class MEDCouplingMeshFieldFactory :
    _NP_RepositoryId = _0_SALOME_TEST._d_MEDCouplingMeshFieldFactory[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_SALOME_TEST.MEDCouplingMeshFieldFactory = MEDCouplingMeshFieldFactory
_0_SALOME_TEST._tc_MEDCouplingMeshFieldFactory = omniORB.tcInternal.createTypeCode(_0_SALOME_TEST._d_MEDCouplingMeshFieldFactory)
omniORB.registerType(MEDCouplingMeshFieldFactory._NP_RepositoryId, _0_SALOME_TEST._d_MEDCouplingMeshFieldFactory, _0_SALOME_TEST._tc_MEDCouplingMeshFieldFactory)

# MEDCouplingMeshFieldFactory operations and attributes
MEDCouplingMeshFieldFactory._d_destroyFactory = ((), (), None)
MEDCouplingMeshFieldFactory._d_shutdownOrb = ((), (), None)
MEDCouplingMeshFieldFactory._d_get2DMesh = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingUMeshCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_get3DMesh = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingUMeshCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_get3DSurfMesh = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingUMeshCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_get0DMesh = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingUMeshCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_getM1DMesh = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingUMeshCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_getFieldScalarOn2DNT = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingFieldDoubleCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_getFieldNodeScalarOn2DNT = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingFieldDoubleCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DNT = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingFieldDoubleCorbaInterface:1.0"], ), None)
MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DSurfWT = ((), (omniORB.typeMapping["IDL:SALOME_MED/MEDCouplingFieldDoubleCorbaInterface:1.0"], ), None)

# MEDCouplingMeshFieldFactory object reference
class _objref_MEDCouplingMeshFieldFactory (CORBA.Object):
    _NP_RepositoryId = MEDCouplingMeshFieldFactory._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def destroyFactory(self, *args):
        return _omnipy.invoke(self, "destroyFactory", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_destroyFactory, args)

    def shutdownOrb(self, *args):
        return _omnipy.invoke(self, "shutdownOrb", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_shutdownOrb, args)

    def get2DMesh(self, *args):
        return _omnipy.invoke(self, "get2DMesh", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get2DMesh, args)

    def get3DMesh(self, *args):
        return _omnipy.invoke(self, "get3DMesh", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get3DMesh, args)

    def get3DSurfMesh(self, *args):
        return _omnipy.invoke(self, "get3DSurfMesh", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get3DSurfMesh, args)

    def get0DMesh(self, *args):
        return _omnipy.invoke(self, "get0DMesh", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get0DMesh, args)

    def getM1DMesh(self, *args):
        return _omnipy.invoke(self, "getM1DMesh", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getM1DMesh, args)

    def getFieldScalarOn2DNT(self, *args):
        return _omnipy.invoke(self, "getFieldScalarOn2DNT", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn2DNT, args)

    def getFieldNodeScalarOn2DNT(self, *args):
        return _omnipy.invoke(self, "getFieldNodeScalarOn2DNT", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldNodeScalarOn2DNT, args)

    def getFieldScalarOn3DNT(self, *args):
        return _omnipy.invoke(self, "getFieldScalarOn3DNT", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DNT, args)

    def getFieldScalarOn3DSurfWT(self, *args):
        return _omnipy.invoke(self, "getFieldScalarOn3DSurfWT", _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DSurfWT, args)

    __methods__ = ["destroyFactory", "shutdownOrb", "get2DMesh", "get3DMesh", "get3DSurfMesh", "get0DMesh", "getM1DMesh", "getFieldScalarOn2DNT", "getFieldNodeScalarOn2DNT", "getFieldScalarOn3DNT", "getFieldScalarOn3DSurfWT"] + CORBA.Object.__methods__

omniORB.registerObjref(MEDCouplingMeshFieldFactory._NP_RepositoryId, _objref_MEDCouplingMeshFieldFactory)
_0_SALOME_TEST._objref_MEDCouplingMeshFieldFactory = _objref_MEDCouplingMeshFieldFactory
del MEDCouplingMeshFieldFactory, _objref_MEDCouplingMeshFieldFactory

# MEDCouplingMeshFieldFactory skeleton
__name__ = "SALOME_TEST__POA"
class MEDCouplingMeshFieldFactory (PortableServer.Servant):
    _NP_RepositoryId = _0_SALOME_TEST.MEDCouplingMeshFieldFactory._NP_RepositoryId


    _omni_op_d = {"destroyFactory": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_destroyFactory, "shutdownOrb": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_shutdownOrb, "get2DMesh": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get2DMesh, "get3DMesh": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get3DMesh, "get3DSurfMesh": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get3DSurfMesh, "get0DMesh": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_get0DMesh, "getM1DMesh": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getM1DMesh, "getFieldScalarOn2DNT": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn2DNT, "getFieldNodeScalarOn2DNT": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldNodeScalarOn2DNT, "getFieldScalarOn3DNT": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DNT, "getFieldScalarOn3DSurfWT": _0_SALOME_TEST.MEDCouplingMeshFieldFactory._d_getFieldScalarOn3DSurfWT}

MEDCouplingMeshFieldFactory._omni_skeleton = MEDCouplingMeshFieldFactory
_0_SALOME_TEST__POA.MEDCouplingMeshFieldFactory = MEDCouplingMeshFieldFactory
omniORB.registerSkeleton(MEDCouplingMeshFieldFactory._NP_RepositoryId, MEDCouplingMeshFieldFactory)
del MEDCouplingMeshFieldFactory
__name__ = "SALOME_TEST"

#
# End of module "SALOME_TEST"
#
__name__ = "MEDCouplingCorbaServantTest_idl"

_exported_modules = ( "SALOME_TEST", )

# The end.
