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

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

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_Exception.idl"
import SALOME_Exception_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOMEDS.idl"
import SALOMEDS_idl
_0_SALOMEDS = omniORB.openModule("SALOMEDS")
_0_SALOMEDS__POA = omniORB.openModule("SALOMEDS__POA")
# #include "SALOME_PyNode.idl"
import SALOME_PyNode_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_Component.idl"
import SALOME_Component_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_Comm.idl"
import SALOME_Comm_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "MED.idl"
import MED_idl
_0_SALOME_MED = omniORB.openModule("SALOME_MED")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA")

#
# Start of module "SALOME_MED"
#
__name__ = "SALOME_MED"
_0_SALOME_MED = omniORB.openModule("SALOME_MED", r".././../idl/MED_Gen.idl")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA", r".././../idl/MED_Gen.idl")


# interface MED_Gen_Driver
_0_SALOME_MED._d_MED_Gen_Driver = (omniORB.tcInternal.tv_objref, "IDL:SALOME_MED/MED_Gen_Driver:1.0", "MED_Gen_Driver")
omniORB.typeMapping["IDL:SALOME_MED/MED_Gen_Driver:1.0"] = _0_SALOME_MED._d_MED_Gen_Driver
_0_SALOME_MED.MED_Gen_Driver = omniORB.newEmptyClass()
class MED_Gen_Driver (_0_SALOMEDS.Driver):
    _NP_RepositoryId = _0_SALOME_MED._d_MED_Gen_Driver[1]

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

    _nil = CORBA.Object._nil


_0_SALOME_MED.MED_Gen_Driver = MED_Gen_Driver
_0_SALOME_MED._tc_MED_Gen_Driver = omniORB.tcInternal.createTypeCode(_0_SALOME_MED._d_MED_Gen_Driver)
omniORB.registerType(MED_Gen_Driver._NP_RepositoryId, _0_SALOME_MED._d_MED_Gen_Driver, _0_SALOME_MED._tc_MED_Gen_Driver)

# MED_Gen_Driver object reference
class _objref_MED_Gen_Driver (_0_SALOMEDS._objref_Driver):
    _NP_RepositoryId = MED_Gen_Driver._NP_RepositoryId

    def __init__(self):
        _0_SALOMEDS._objref_Driver.__init__(self)

    __methods__ = [] + _0_SALOMEDS._objref_Driver.__methods__

omniORB.registerObjref(MED_Gen_Driver._NP_RepositoryId, _objref_MED_Gen_Driver)
_0_SALOME_MED._objref_MED_Gen_Driver = _objref_MED_Gen_Driver
del MED_Gen_Driver, _objref_MED_Gen_Driver

# MED_Gen_Driver skeleton
__name__ = "SALOME_MED__POA"
class MED_Gen_Driver (_0_SALOMEDS__POA.Driver):
    _NP_RepositoryId = _0_SALOME_MED.MED_Gen_Driver._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_SALOMEDS__POA.Driver._omni_op_d)

MED_Gen_Driver._omni_skeleton = MED_Gen_Driver
_0_SALOME_MED__POA.MED_Gen_Driver = MED_Gen_Driver
omniORB.registerSkeleton(MED_Gen_Driver._NP_RepositoryId, MED_Gen_Driver)
del MED_Gen_Driver
__name__ = "SALOME_MED"

# interface MED_Gen
_0_SALOME_MED._d_MED_Gen = (omniORB.tcInternal.tv_objref, "IDL:SALOME_MED/MED_Gen:1.0", "MED_Gen")
omniORB.typeMapping["IDL:SALOME_MED/MED_Gen:1.0"] = _0_SALOME_MED._d_MED_Gen
_0_SALOME_MED.MED_Gen = omniORB.newEmptyClass()
class MED_Gen (_0_Engines.Component, _0_SALOME_MED.MED_Gen_Driver):
    _NP_RepositoryId = _0_SALOME_MED._d_MED_Gen[1]

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

    _nil = CORBA.Object._nil


_0_SALOME_MED.MED_Gen = MED_Gen
_0_SALOME_MED._tc_MED_Gen = omniORB.tcInternal.createTypeCode(_0_SALOME_MED._d_MED_Gen)
omniORB.registerType(MED_Gen._NP_RepositoryId, _0_SALOME_MED._d_MED_Gen, _0_SALOME_MED._tc_MED_Gen)

# MED_Gen operations and attributes
MED_Gen._d_readMeshInFile = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.typeMapping["IDL:SALOME_MED/MESH:1.0"], ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
MED_Gen._d_readFieldInFile = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_long, omniORB.tcInternal.tv_long), (omniORB.typeMapping["IDL:SALOME_MED/FIELD:1.0"], ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
MED_Gen._d_readStructFile = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.typeMapping["IDL:SALOME_MED/MED:1.0"], ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
MED_Gen._d_readStructFileWithFieldType = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})

# MED_Gen object reference
class _objref_MED_Gen (_0_Engines._objref_Component, _0_SALOME_MED._objref_MED_Gen_Driver):
    _NP_RepositoryId = MED_Gen._NP_RepositoryId

    def __init__(self):
        _0_Engines._objref_Component.__init__(self)
        _0_SALOME_MED._objref_MED_Gen_Driver.__init__(self)

    def readMeshInFile(self, *args):
        return _omnipy.invoke(self, "readMeshInFile", _0_SALOME_MED.MED_Gen._d_readMeshInFile, args)

    def readFieldInFile(self, *args):
        return _omnipy.invoke(self, "readFieldInFile", _0_SALOME_MED.MED_Gen._d_readFieldInFile, args)

    def readStructFile(self, *args):
        return _omnipy.invoke(self, "readStructFile", _0_SALOME_MED.MED_Gen._d_readStructFile, args)

    def readStructFileWithFieldType(self, *args):
        return _omnipy.invoke(self, "readStructFileWithFieldType", _0_SALOME_MED.MED_Gen._d_readStructFileWithFieldType, args)

    __methods__ = ["readMeshInFile", "readFieldInFile", "readStructFile", "readStructFileWithFieldType"] + _0_Engines._objref_Component.__methods__ + _0_SALOME_MED._objref_MED_Gen_Driver.__methods__

omniORB.registerObjref(MED_Gen._NP_RepositoryId, _objref_MED_Gen)
_0_SALOME_MED._objref_MED_Gen = _objref_MED_Gen
del MED_Gen, _objref_MED_Gen

# MED_Gen skeleton
__name__ = "SALOME_MED__POA"
class MED_Gen (_0_Engines__POA.Component, _0_SALOME_MED__POA.MED_Gen_Driver):
    _NP_RepositoryId = _0_SALOME_MED.MED_Gen._NP_RepositoryId


    _omni_op_d = {"readMeshInFile": _0_SALOME_MED.MED_Gen._d_readMeshInFile, "readFieldInFile": _0_SALOME_MED.MED_Gen._d_readFieldInFile, "readStructFile": _0_SALOME_MED.MED_Gen._d_readStructFile, "readStructFileWithFieldType": _0_SALOME_MED.MED_Gen._d_readStructFileWithFieldType}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)
    _omni_op_d.update(_0_SALOME_MED__POA.MED_Gen_Driver._omni_op_d)

MED_Gen._omni_skeleton = MED_Gen
_0_SALOME_MED__POA.MED_Gen = MED_Gen
omniORB.registerSkeleton(MED_Gen._NP_RepositoryId, MED_Gen)
del MED_Gen
__name__ = "SALOME_MED"

#
# End of module "SALOME_MED"
#
__name__ = "MED_Gen_idl"

_exported_modules = ( "SALOME_MED", )

# The end.
