# Python stubs generated by omniidl from .././../idl/SMESH_Group.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 "SALOMEDS_Attributes.idl"
import SALOMEDS_Attributes_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 "GEOM_Gen.idl"
import GEOM_Gen_idl
_0_GEOM = omniORB.openModule("GEOM")
_0_GEOM__POA = omniORB.openModule("GEOM__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")
# #include "SMESH_Mesh.idl"
import SMESH_Mesh_idl
_0_SMESH = omniORB.openModule("SMESH")
_0_SMESH__POA = omniORB.openModule("SMESH__POA")

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


# interface Predicate;
_0_SMESH._d_Predicate = (omniORB.tcInternal.tv_objref, "IDL:SMESH/Predicate:1.0", "Predicate")
omniORB.typeMapping["IDL:SMESH/Predicate:1.0"] = _0_SMESH._d_Predicate

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

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_GroupBase = SMESH_GroupBase
_0_SMESH._tc_SMESH_GroupBase = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_GroupBase)
omniORB.registerType(SMESH_GroupBase._NP_RepositoryId, _0_SMESH._d_SMESH_GroupBase, _0_SMESH._tc_SMESH_GroupBase)

# SMESH_GroupBase operations and attributes
SMESH_GroupBase._d_SetName = (((omniORB.tcInternal.tv_string,0), ), (), None)
SMESH_GroupBase._d_GetName = ((), ((omniORB.tcInternal.tv_string,0), ), None)
SMESH_GroupBase._d_GetType = ((), (omniORB.typeMapping["IDL:SMESH/ElementType:1.0"], ), None)
SMESH_GroupBase._d_Size = ((), (omniORB.tcInternal.tv_long, ), None)
SMESH_GroupBase._d_IsEmpty = ((), (omniORB.tcInternal.tv_boolean, ), None)
SMESH_GroupBase._d_Contains = ((omniORB.tcInternal.tv_long, ), (omniORB.tcInternal.tv_boolean, ), None)
SMESH_GroupBase._d_GetID = ((omniORB.tcInternal.tv_long, ), (omniORB.tcInternal.tv_long, ), None)
SMESH_GroupBase._d_GetListOfID = ((), (omniORB.typeMapping["IDL:SMESH/long_array:1.0"], ), None)
SMESH_GroupBase._d_GetMesh = ((), (omniORB.typeMapping["IDL:SMESH/SMESH_Mesh:1.0"], ), None)
SMESH_GroupBase._d_SetColor = ((omniORB.typeMapping["IDL:SALOMEDS/Color:1.0"], ), (), None)
SMESH_GroupBase._d_GetColor = ((), (omniORB.typeMapping["IDL:SALOMEDS/Color:1.0"], ), None)
SMESH_GroupBase._d_SetColorNumber = ((omniORB.tcInternal.tv_long, ), (), None)
SMESH_GroupBase._d_GetColorNumber = ((), (omniORB.tcInternal.tv_long, ), None)

# SMESH_GroupBase object reference
class _objref_SMESH_GroupBase (_0_SALOME._objref_GenericObj, _0_SMESH._objref_SMESH_IDSource):
    _NP_RepositoryId = SMESH_GroupBase._NP_RepositoryId

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

    def SetName(self, *args):
        return _omnipy.invoke(self, "SetName", _0_SMESH.SMESH_GroupBase._d_SetName, args)

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

    def GetType(self, *args):
        return _omnipy.invoke(self, "GetType", _0_SMESH.SMESH_GroupBase._d_GetType, args)

    def Size(self, *args):
        return _omnipy.invoke(self, "Size", _0_SMESH.SMESH_GroupBase._d_Size, args)

    def IsEmpty(self, *args):
        return _omnipy.invoke(self, "IsEmpty", _0_SMESH.SMESH_GroupBase._d_IsEmpty, args)

    def Contains(self, *args):
        return _omnipy.invoke(self, "Contains", _0_SMESH.SMESH_GroupBase._d_Contains, args)

    def GetID(self, *args):
        return _omnipy.invoke(self, "GetID", _0_SMESH.SMESH_GroupBase._d_GetID, args)

    def GetListOfID(self, *args):
        return _omnipy.invoke(self, "GetListOfID", _0_SMESH.SMESH_GroupBase._d_GetListOfID, args)

    def GetMesh(self, *args):
        return _omnipy.invoke(self, "GetMesh", _0_SMESH.SMESH_GroupBase._d_GetMesh, args)

    def SetColor(self, *args):
        return _omnipy.invoke(self, "SetColor", _0_SMESH.SMESH_GroupBase._d_SetColor, args)

    def GetColor(self, *args):
        return _omnipy.invoke(self, "GetColor", _0_SMESH.SMESH_GroupBase._d_GetColor, args)

    def SetColorNumber(self, *args):
        return _omnipy.invoke(self, "SetColorNumber", _0_SMESH.SMESH_GroupBase._d_SetColorNumber, args)

    def GetColorNumber(self, *args):
        return _omnipy.invoke(self, "GetColorNumber", _0_SMESH.SMESH_GroupBase._d_GetColorNumber, args)

    __methods__ = ["SetName", "GetName", "GetType", "Size", "IsEmpty", "Contains", "GetID", "GetListOfID", "GetMesh", "SetColor", "GetColor", "SetColorNumber", "GetColorNumber"] + _0_SALOME._objref_GenericObj.__methods__ + _0_SMESH._objref_SMESH_IDSource.__methods__

omniORB.registerObjref(SMESH_GroupBase._NP_RepositoryId, _objref_SMESH_GroupBase)
_0_SMESH._objref_SMESH_GroupBase = _objref_SMESH_GroupBase
del SMESH_GroupBase, _objref_SMESH_GroupBase

# SMESH_GroupBase skeleton
__name__ = "SMESH__POA"
class SMESH_GroupBase (_0_SALOME__POA.GenericObj, _0_SMESH__POA.SMESH_IDSource):
    _NP_RepositoryId = _0_SMESH.SMESH_GroupBase._NP_RepositoryId


    _omni_op_d = {"SetName": _0_SMESH.SMESH_GroupBase._d_SetName, "GetName": _0_SMESH.SMESH_GroupBase._d_GetName, "GetType": _0_SMESH.SMESH_GroupBase._d_GetType, "Size": _0_SMESH.SMESH_GroupBase._d_Size, "IsEmpty": _0_SMESH.SMESH_GroupBase._d_IsEmpty, "Contains": _0_SMESH.SMESH_GroupBase._d_Contains, "GetID": _0_SMESH.SMESH_GroupBase._d_GetID, "GetListOfID": _0_SMESH.SMESH_GroupBase._d_GetListOfID, "GetMesh": _0_SMESH.SMESH_GroupBase._d_GetMesh, "SetColor": _0_SMESH.SMESH_GroupBase._d_SetColor, "GetColor": _0_SMESH.SMESH_GroupBase._d_GetColor, "SetColorNumber": _0_SMESH.SMESH_GroupBase._d_SetColorNumber, "GetColorNumber": _0_SMESH.SMESH_GroupBase._d_GetColorNumber}
    _omni_op_d.update(_0_SALOME__POA.GenericObj._omni_op_d)
    _omni_op_d.update(_0_SMESH__POA.SMESH_IDSource._omni_op_d)

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

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

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_Group = SMESH_Group
_0_SMESH._tc_SMESH_Group = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_Group)
omniORB.registerType(SMESH_Group._NP_RepositoryId, _0_SMESH._d_SMESH_Group, _0_SMESH._tc_SMESH_Group)

# SMESH_Group operations and attributes
SMESH_Group._d_Clear = ((), (), None)
SMESH_Group._d_Add = ((omniORB.typeMapping["IDL:SMESH/long_array:1.0"], ), (omniORB.tcInternal.tv_long, ), None)
SMESH_Group._d_AddByPredicate = ((omniORB.typeMapping["IDL:SMESH/Predicate:1.0"], ), (omniORB.tcInternal.tv_long, ), None)
SMESH_Group._d_Remove = ((omniORB.typeMapping["IDL:SMESH/long_array:1.0"], ), (omniORB.tcInternal.tv_long, ), None)
SMESH_Group._d_RemoveByPredicate = ((omniORB.typeMapping["IDL:SMESH/Predicate:1.0"], ), (omniORB.tcInternal.tv_long, ), None)

# SMESH_Group object reference
class _objref_SMESH_Group (_0_SMESH._objref_SMESH_GroupBase):
    _NP_RepositoryId = SMESH_Group._NP_RepositoryId

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

    def Clear(self, *args):
        return _omnipy.invoke(self, "Clear", _0_SMESH.SMESH_Group._d_Clear, args)

    def Add(self, *args):
        return _omnipy.invoke(self, "Add", _0_SMESH.SMESH_Group._d_Add, args)

    def AddByPredicate(self, *args):
        return _omnipy.invoke(self, "AddByPredicate", _0_SMESH.SMESH_Group._d_AddByPredicate, args)

    def Remove(self, *args):
        return _omnipy.invoke(self, "Remove", _0_SMESH.SMESH_Group._d_Remove, args)

    def RemoveByPredicate(self, *args):
        return _omnipy.invoke(self, "RemoveByPredicate", _0_SMESH.SMESH_Group._d_RemoveByPredicate, args)

    __methods__ = ["Clear", "Add", "AddByPredicate", "Remove", "RemoveByPredicate"] + _0_SMESH._objref_SMESH_GroupBase.__methods__

omniORB.registerObjref(SMESH_Group._NP_RepositoryId, _objref_SMESH_Group)
_0_SMESH._objref_SMESH_Group = _objref_SMESH_Group
del SMESH_Group, _objref_SMESH_Group

# SMESH_Group skeleton
__name__ = "SMESH__POA"
class SMESH_Group (_0_SMESH__POA.SMESH_GroupBase):
    _NP_RepositoryId = _0_SMESH.SMESH_Group._NP_RepositoryId


    _omni_op_d = {"Clear": _0_SMESH.SMESH_Group._d_Clear, "Add": _0_SMESH.SMESH_Group._d_Add, "AddByPredicate": _0_SMESH.SMESH_Group._d_AddByPredicate, "Remove": _0_SMESH.SMESH_Group._d_Remove, "RemoveByPredicate": _0_SMESH.SMESH_Group._d_RemoveByPredicate}
    _omni_op_d.update(_0_SMESH__POA.SMESH_GroupBase._omni_op_d)

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

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

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

    _nil = CORBA.Object._nil


_0_SMESH.SMESH_GroupOnGeom = SMESH_GroupOnGeom
_0_SMESH._tc_SMESH_GroupOnGeom = omniORB.tcInternal.createTypeCode(_0_SMESH._d_SMESH_GroupOnGeom)
omniORB.registerType(SMESH_GroupOnGeom._NP_RepositoryId, _0_SMESH._d_SMESH_GroupOnGeom, _0_SMESH._tc_SMESH_GroupOnGeom)

# SMESH_GroupOnGeom operations and attributes
SMESH_GroupOnGeom._d_GetShape = ((), (omniORB.typeMapping["IDL:GEOM/GEOM_Object:1.0"], ), None)

# SMESH_GroupOnGeom object reference
class _objref_SMESH_GroupOnGeom (_0_SMESH._objref_SMESH_GroupBase):
    _NP_RepositoryId = SMESH_GroupOnGeom._NP_RepositoryId

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

    def GetShape(self, *args):
        return _omnipy.invoke(self, "GetShape", _0_SMESH.SMESH_GroupOnGeom._d_GetShape, args)

    __methods__ = ["GetShape"] + _0_SMESH._objref_SMESH_GroupBase.__methods__

omniORB.registerObjref(SMESH_GroupOnGeom._NP_RepositoryId, _objref_SMESH_GroupOnGeom)
_0_SMESH._objref_SMESH_GroupOnGeom = _objref_SMESH_GroupOnGeom
del SMESH_GroupOnGeom, _objref_SMESH_GroupOnGeom

# SMESH_GroupOnGeom skeleton
__name__ = "SMESH__POA"
class SMESH_GroupOnGeom (_0_SMESH__POA.SMESH_GroupBase):
    _NP_RepositoryId = _0_SMESH.SMESH_GroupOnGeom._NP_RepositoryId


    _omni_op_d = {"GetShape": _0_SMESH.SMESH_GroupOnGeom._d_GetShape}
    _omni_op_d.update(_0_SMESH__POA.SMESH_GroupBase._omni_op_d)

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

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

_exported_modules = ( "SMESH", )

# The end.
