# Python stubs generated by omniidl from .././../idl/SMESH_Hypothesis.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")

#
# Start of module "SMESH"
#
__name__ = "SMESH"
_0_SMESH = omniORB.openModule("SMESH", r".././../idl/SMESH_Hypothesis.idl")
_0_SMESH__POA = omniORB.openModule("SMESH__POA", r".././../idl/SMESH_Hypothesis.idl")


# enum Dimension
_0_SMESH.DIM_0D = omniORB.EnumItem("DIM_0D", 0)
_0_SMESH.DIM_1D = omniORB.EnumItem("DIM_1D", 1)
_0_SMESH.DIM_2D = omniORB.EnumItem("DIM_2D", 2)
_0_SMESH.DIM_3D = omniORB.EnumItem("DIM_3D", 3)
_0_SMESH.Dimension = omniORB.Enum("IDL:SMESH/Dimension:1.0", (_0_SMESH.DIM_0D, _0_SMESH.DIM_1D, _0_SMESH.DIM_2D, _0_SMESH.DIM_3D,))

_0_SMESH._d_Dimension  = (omniORB.tcInternal.tv_enum, _0_SMESH.Dimension._NP_RepositoryId, "Dimension", _0_SMESH.Dimension._items)
_0_SMESH._tc_Dimension = omniORB.tcInternal.createTypeCode(_0_SMESH._d_Dimension)
omniORB.registerType(_0_SMESH.Dimension._NP_RepositoryId, _0_SMESH._d_Dimension, _0_SMESH._tc_Dimension)

# typedef ... ListOfParameters
class ListOfParameters:
    _NP_RepositoryId = "IDL:SMESH/ListOfParameters:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_SMESH.ListOfParameters = ListOfParameters
_0_SMESH._d_ListOfParameters  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_SMESH._ad_ListOfParameters = (omniORB.tcInternal.tv_alias, ListOfParameters._NP_RepositoryId, "ListOfParameters", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_SMESH._tc_ListOfParameters = omniORB.tcInternal.createTypeCode(_0_SMESH._ad_ListOfParameters)
omniORB.registerType(ListOfParameters._NP_RepositoryId, _0_SMESH._ad_ListOfParameters, _0_SMESH._tc_ListOfParameters)
del ListOfParameters

# interface SMESH_Hypothesis
_0_SMESH._d_SMESH_Hypothesis = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_Hypothesis:1.0", "SMESH_Hypothesis")
omniORB.typeMapping["IDL:SMESH/SMESH_Hypothesis:1.0"] = _0_SMESH._d_SMESH_Hypothesis
_0_SMESH.SMESH_Hypothesis = omniORB.newEmptyClass()
class SMESH_Hypothesis (_0_SALOME.GenericObj):
    _NP_RepositoryId = _0_SMESH._d_SMESH_Hypothesis[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_Hypothesis = SMESH_Hypothesis
_0_SMESH._tc_SMESH_Hypothesis = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_Hypothesis)
omniORB.registerType(SMESH_Hypothesis._NP_RepositoryId, _0_SMESH._d_SMESH_Hypothesis, _0_SMESH._tc_SMESH_Hypothesis)

# SMESH_Hypothesis operations and attributes
SMESH_Hypothesis._d_GetName = ((), ((omniORB.tcInternal.tv_string,0), ), None)
SMESH_Hypothesis._d_GetLibName = ((), ((omniORB.tcInternal.tv_string,0), ), None)
SMESH_Hypothesis._d_GetId = ((), (omniORB.tcInternal.tv_long, ), None)
SMESH_Hypothesis._d_SetParameters = (((omniORB.tcInternal.tv_string,0), ), (), None)
SMESH_Hypothesis._d_GetParameters = ((), ((omniORB.tcInternal.tv_string,0), ), None)
SMESH_Hypothesis._d_GetLastParameters = ((), (omniORB.typeMapping["IDL:SMESH/ListOfParameters:1.0"], ), None)
SMESH_Hypothesis._d_SetLastParameters = (((omniORB.tcInternal.tv_string,0), ), (), None)
SMESH_Hypothesis._d_ClearParameters = ((), (), None)
SMESH_Hypothesis._d_IsDimSupported = ((omniORB.typeMapping["IDL:SMESH/Dimension:1.0"], ), (omniORB.tcInternal.tv_boolean, ), None)

# SMESH_Hypothesis object reference
class _objref_SMESH_Hypothesis (_0_SALOME._objref_GenericObj):
    _NP_RepositoryId = SMESH_Hypothesis._NP_RepositoryId

    def __init__(self):
        _0_SALOME._objref_GenericObj.__init__(self)

    def GetName(self, *args):
        return _omnipy.invoke(self, "GetName", _0_SMESH.SMESH_Hypothesis._d_GetName, args)

    def GetLibName(self, *args):
        return _omnipy.invoke(self, "GetLibName", _0_SMESH.SMESH_Hypothesis._d_GetLibName, args)

    def GetId(self, *args):
        return _omnipy.invoke(self, "GetId", _0_SMESH.SMESH_Hypothesis._d_GetId, args)

    def SetParameters(self, *args):
        return _omnipy.invoke(self, "SetParameters", _0_SMESH.SMESH_Hypothesis._d_SetParameters, args)

    def GetParameters(self, *args):
        return _omnipy.invoke(self, "GetParameters", _0_SMESH.SMESH_Hypothesis._d_GetParameters, args)

    def GetLastParameters(self, *args):
        return _omnipy.invoke(self, "GetLastParameters", _0_SMESH.SMESH_Hypothesis._d_GetLastParameters, args)

    def SetLastParameters(self, *args):
        return _omnipy.invoke(self, "SetLastParameters", _0_SMESH.SMESH_Hypothesis._d_SetLastParameters, args)

    def ClearParameters(self, *args):
        return _omnipy.invoke(self, "ClearParameters", _0_SMESH.SMESH_Hypothesis._d_ClearParameters, args)

    def IsDimSupported(self, *args):
        return _omnipy.invoke(self, "IsDimSupported", _0_SMESH.SMESH_Hypothesis._d_IsDimSupported, args)

    __methods__ = ["GetName", "GetLibName", "GetId", "SetParameters", "GetParameters", "GetLastParameters", "SetLastParameters", "ClearParameters", "IsDimSupported"] + _0_SALOME._objref_GenericObj.__methods__

omniORB.registerObjref(SMESH_Hypothesis._NP_RepositoryId, _objref_SMESH_Hypothesis)
_0_SMESH._objref_SMESH_Hypothesis = _objref_SMESH_Hypothesis
del SMESH_Hypothesis, _objref_SMESH_Hypothesis

# SMESH_Hypothesis skeleton
__name__ = "SMESH__POA"
class SMESH_Hypothesis (_0_SALOME__POA.GenericObj):
    _NP_RepositoryId = _0_SMESH.SMESH_Hypothesis._NP_RepositoryId


    _omni_op_d = {"GetName": _0_SMESH.SMESH_Hypothesis._d_GetName, "GetLibName": _0_SMESH.SMESH_Hypothesis._d_GetLibName, "GetId": _0_SMESH.SMESH_Hypothesis._d_GetId, "SetParameters": _0_SMESH.SMESH_Hypothesis._d_SetParameters, "GetParameters": _0_SMESH.SMESH_Hypothesis._d_GetParameters, "GetLastParameters": _0_SMESH.SMESH_Hypothesis._d_GetLastParameters, "SetLastParameters": _0_SMESH.SMESH_Hypothesis._d_SetLastParameters, "ClearParameters": _0_SMESH.SMESH_Hypothesis._d_ClearParameters, "IsDimSupported": _0_SMESH.SMESH_Hypothesis._d_IsDimSupported}
    _omni_op_d.update(_0_SALOME__POA.GenericObj._omni_op_d)

SMESH_Hypothesis._omni_skeleton = SMESH_Hypothesis
_0_SMESH__POA.SMESH_Hypothesis = SMESH_Hypothesis
omniORB.registerSkeleton(SMESH_Hypothesis._NP_RepositoryId, SMESH_Hypothesis)
del SMESH_Hypothesis
__name__ = "SMESH"

# typedef ... ListOfHypothesisName
class ListOfHypothesisName:
    _NP_RepositoryId = "IDL:SMESH/ListOfHypothesisName:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_SMESH.ListOfHypothesisName = ListOfHypothesisName
_0_SMESH._d_ListOfHypothesisName  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_SMESH._ad_ListOfHypothesisName = (omniORB.tcInternal.tv_alias, ListOfHypothesisName._NP_RepositoryId, "ListOfHypothesisName", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_SMESH._tc_ListOfHypothesisName = omniORB.tcInternal.createTypeCode(_0_SMESH._ad_ListOfHypothesisName)
omniORB.registerType(ListOfHypothesisName._NP_RepositoryId, _0_SMESH._ad_ListOfHypothesisName, _0_SMESH._tc_ListOfHypothesisName)
del ListOfHypothesisName

# interface SMESH_Algo
_0_SMESH._d_SMESH_Algo = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_Algo:1.0", "SMESH_Algo")
omniORB.typeMapping["IDL:SMESH/SMESH_Algo:1.0"] = _0_SMESH._d_SMESH_Algo
_0_SMESH.SMESH_Algo = omniORB.newEmptyClass()
class SMESH_Algo (_0_SMESH.SMESH_Hypothesis):
    _NP_RepositoryId = _0_SMESH._d_SMESH_Algo[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_Algo = SMESH_Algo
_0_SMESH._tc_SMESH_Algo = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_Algo)
omniORB.registerType(SMESH_Algo._NP_RepositoryId, _0_SMESH._d_SMESH_Algo, _0_SMESH._tc_SMESH_Algo)

# SMESH_Algo operations and attributes
SMESH_Algo._d_GetCompatibleHypothesis = ((), (omniORB.typeMapping["IDL:SMESH/ListOfHypothesisName:1.0"], ), None)

# SMESH_Algo object reference
class _objref_SMESH_Algo (_0_SMESH._objref_SMESH_Hypothesis):
    _NP_RepositoryId = SMESH_Algo._NP_RepositoryId

    def __init__(self):
        _0_SMESH._objref_SMESH_Hypothesis.__init__(self)

    def GetCompatibleHypothesis(self, *args):
        return _omnipy.invoke(self, "GetCompatibleHypothesis", _0_SMESH.SMESH_Algo._d_GetCompatibleHypothesis, args)

    __methods__ = ["GetCompatibleHypothesis"] + _0_SMESH._objref_SMESH_Hypothesis.__methods__

omniORB.registerObjref(SMESH_Algo._NP_RepositoryId, _objref_SMESH_Algo)
_0_SMESH._objref_SMESH_Algo = _objref_SMESH_Algo
del SMESH_Algo, _objref_SMESH_Algo

# SMESH_Algo skeleton
__name__ = "SMESH__POA"
class SMESH_Algo (_0_SMESH__POA.SMESH_Hypothesis):
    _NP_RepositoryId = _0_SMESH.SMESH_Algo._NP_RepositoryId


    _omni_op_d = {"GetCompatibleHypothesis": _0_SMESH.SMESH_Algo._d_GetCompatibleHypothesis}
    _omni_op_d.update(_0_SMESH__POA.SMESH_Hypothesis._omni_op_d)

SMESH_Algo._omni_skeleton = SMESH_Algo
_0_SMESH__POA.SMESH_Algo = SMESH_Algo
omniORB.registerSkeleton(SMESH_Algo._NP_RepositoryId, SMESH_Algo)
del SMESH_Algo
__name__ = "SMESH"

# interface SMESH_0D_Algo
_0_SMESH._d_SMESH_0D_Algo = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_0D_Algo:1.0", "SMESH_0D_Algo")
omniORB.typeMapping["IDL:SMESH/SMESH_0D_Algo:1.0"] = _0_SMESH._d_SMESH_0D_Algo
_0_SMESH.SMESH_0D_Algo = omniORB.newEmptyClass()
class SMESH_0D_Algo (_0_SMESH.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH._d_SMESH_0D_Algo[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_0D_Algo = SMESH_0D_Algo
_0_SMESH._tc_SMESH_0D_Algo = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_0D_Algo)
omniORB.registerType(SMESH_0D_Algo._NP_RepositoryId, _0_SMESH._d_SMESH_0D_Algo, _0_SMESH._tc_SMESH_0D_Algo)

# SMESH_0D_Algo object reference
class _objref_SMESH_0D_Algo (_0_SMESH._objref_SMESH_Algo):
    _NP_RepositoryId = SMESH_0D_Algo._NP_RepositoryId

    def __init__(self):
        _0_SMESH._objref_SMESH_Algo.__init__(self)

    __methods__ = [] + _0_SMESH._objref_SMESH_Algo.__methods__

omniORB.registerObjref(SMESH_0D_Algo._NP_RepositoryId, _objref_SMESH_0D_Algo)
_0_SMESH._objref_SMESH_0D_Algo = _objref_SMESH_0D_Algo
del SMESH_0D_Algo, _objref_SMESH_0D_Algo

# SMESH_0D_Algo skeleton
__name__ = "SMESH__POA"
class SMESH_0D_Algo (_0_SMESH__POA.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH.SMESH_0D_Algo._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_SMESH__POA.SMESH_Algo._omni_op_d)

SMESH_0D_Algo._omni_skeleton = SMESH_0D_Algo
_0_SMESH__POA.SMESH_0D_Algo = SMESH_0D_Algo
omniORB.registerSkeleton(SMESH_0D_Algo._NP_RepositoryId, SMESH_0D_Algo)
del SMESH_0D_Algo
__name__ = "SMESH"

# interface SMESH_1D_Algo
_0_SMESH._d_SMESH_1D_Algo = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_1D_Algo:1.0", "SMESH_1D_Algo")
omniORB.typeMapping["IDL:SMESH/SMESH_1D_Algo:1.0"] = _0_SMESH._d_SMESH_1D_Algo
_0_SMESH.SMESH_1D_Algo = omniORB.newEmptyClass()
class SMESH_1D_Algo (_0_SMESH.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH._d_SMESH_1D_Algo[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_1D_Algo = SMESH_1D_Algo
_0_SMESH._tc_SMESH_1D_Algo = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_1D_Algo)
omniORB.registerType(SMESH_1D_Algo._NP_RepositoryId, _0_SMESH._d_SMESH_1D_Algo, _0_SMESH._tc_SMESH_1D_Algo)

# SMESH_1D_Algo object reference
class _objref_SMESH_1D_Algo (_0_SMESH._objref_SMESH_Algo):
    _NP_RepositoryId = SMESH_1D_Algo._NP_RepositoryId

    def __init__(self):
        _0_SMESH._objref_SMESH_Algo.__init__(self)

    __methods__ = [] + _0_SMESH._objref_SMESH_Algo.__methods__

omniORB.registerObjref(SMESH_1D_Algo._NP_RepositoryId, _objref_SMESH_1D_Algo)
_0_SMESH._objref_SMESH_1D_Algo = _objref_SMESH_1D_Algo
del SMESH_1D_Algo, _objref_SMESH_1D_Algo

# SMESH_1D_Algo skeleton
__name__ = "SMESH__POA"
class SMESH_1D_Algo (_0_SMESH__POA.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH.SMESH_1D_Algo._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_SMESH__POA.SMESH_Algo._omni_op_d)

SMESH_1D_Algo._omni_skeleton = SMESH_1D_Algo
_0_SMESH__POA.SMESH_1D_Algo = SMESH_1D_Algo
omniORB.registerSkeleton(SMESH_1D_Algo._NP_RepositoryId, SMESH_1D_Algo)
del SMESH_1D_Algo
__name__ = "SMESH"

# interface SMESH_2D_Algo
_0_SMESH._d_SMESH_2D_Algo = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_2D_Algo:1.0", "SMESH_2D_Algo")
omniORB.typeMapping["IDL:SMESH/SMESH_2D_Algo:1.0"] = _0_SMESH._d_SMESH_2D_Algo
_0_SMESH.SMESH_2D_Algo = omniORB.newEmptyClass()
class SMESH_2D_Algo (_0_SMESH.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH._d_SMESH_2D_Algo[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_2D_Algo = SMESH_2D_Algo
_0_SMESH._tc_SMESH_2D_Algo = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_2D_Algo)
omniORB.registerType(SMESH_2D_Algo._NP_RepositoryId, _0_SMESH._d_SMESH_2D_Algo, _0_SMESH._tc_SMESH_2D_Algo)

# SMESH_2D_Algo object reference
class _objref_SMESH_2D_Algo (_0_SMESH._objref_SMESH_Algo):
    _NP_RepositoryId = SMESH_2D_Algo._NP_RepositoryId

    def __init__(self):
        _0_SMESH._objref_SMESH_Algo.__init__(self)

    __methods__ = [] + _0_SMESH._objref_SMESH_Algo.__methods__

omniORB.registerObjref(SMESH_2D_Algo._NP_RepositoryId, _objref_SMESH_2D_Algo)
_0_SMESH._objref_SMESH_2D_Algo = _objref_SMESH_2D_Algo
del SMESH_2D_Algo, _objref_SMESH_2D_Algo

# SMESH_2D_Algo skeleton
__name__ = "SMESH__POA"
class SMESH_2D_Algo (_0_SMESH__POA.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH.SMESH_2D_Algo._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_SMESH__POA.SMESH_Algo._omni_op_d)

SMESH_2D_Algo._omni_skeleton = SMESH_2D_Algo
_0_SMESH__POA.SMESH_2D_Algo = SMESH_2D_Algo
omniORB.registerSkeleton(SMESH_2D_Algo._NP_RepositoryId, SMESH_2D_Algo)
del SMESH_2D_Algo
__name__ = "SMESH"

# interface SMESH_3D_Algo
_0_SMESH._d_SMESH_3D_Algo = (omniORB.tcInternal.tv_objref, "IDL:SMESH/SMESH_3D_Algo:1.0", "SMESH_3D_Algo")
omniORB.typeMapping["IDL:SMESH/SMESH_3D_Algo:1.0"] = _0_SMESH._d_SMESH_3D_Algo
_0_SMESH.SMESH_3D_Algo = omniORB.newEmptyClass()
class SMESH_3D_Algo (_0_SMESH.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH._d_SMESH_3D_Algo[1]

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_3D_Algo = SMESH_3D_Algo
_0_SMESH._tc_SMESH_3D_Algo = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_3D_Algo)
omniORB.registerType(SMESH_3D_Algo._NP_RepositoryId, _0_SMESH._d_SMESH_3D_Algo, _0_SMESH._tc_SMESH_3D_Algo)

# SMESH_3D_Algo object reference
class _objref_SMESH_3D_Algo (_0_SMESH._objref_SMESH_Algo):
    _NP_RepositoryId = SMESH_3D_Algo._NP_RepositoryId

    def __init__(self):
        _0_SMESH._objref_SMESH_Algo.__init__(self)

    __methods__ = [] + _0_SMESH._objref_SMESH_Algo.__methods__

omniORB.registerObjref(SMESH_3D_Algo._NP_RepositoryId, _objref_SMESH_3D_Algo)
_0_SMESH._objref_SMESH_3D_Algo = _objref_SMESH_3D_Algo
del SMESH_3D_Algo, _objref_SMESH_3D_Algo

# SMESH_3D_Algo skeleton
__name__ = "SMESH__POA"
class SMESH_3D_Algo (_0_SMESH__POA.SMESH_Algo):
    _NP_RepositoryId = _0_SMESH.SMESH_3D_Algo._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_SMESH__POA.SMESH_Algo._omni_op_d)

SMESH_3D_Algo._omni_skeleton = SMESH_3D_Algo
_0_SMESH__POA.SMESH_3D_Algo = SMESH_3D_Algo
omniORB.registerSkeleton(SMESH_3D_Algo._NP_RepositoryId, SMESH_3D_Algo)
del SMESH_3D_Algo
__name__ = "SMESH"

#
# End of module "SMESH"
#
__name__ = "SMESH_Hypothesis_idl"

_exported_modules = ( "SMESH", )

# The end.
