# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.2.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

"""
IFSelect module, see official documentation at
https://www.opencascade.com/doc/occt-7.7.0/refman/html/package_ifselect.html
"""

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _IFSelect
else:
    import _IFSelect

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _IFSelect.delete_SwigPyIterator

    def value(self):
        return _IFSelect.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _IFSelect.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _IFSelect.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _IFSelect.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _IFSelect.SwigPyIterator_equal(self, x)

    def copy(self):
        return _IFSelect.SwigPyIterator_copy(self)

    def next(self):
        return _IFSelect.SwigPyIterator_next(self)

    def __next__(self):
        return _IFSelect.SwigPyIterator___next__(self)

    def previous(self):
        return _IFSelect.SwigPyIterator_previous(self)

    def advance(self, n):
        return _IFSelect.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _IFSelect.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _IFSelect.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _IFSelect.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _IFSelect.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _IFSelect.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _IFSelect.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _IFSelect:
_IFSelect.SwigPyIterator_swigregister(SwigPyIterator)

def _dumps_object(klass):
    """ Overwrite default string output for any wrapped object.
    By default, __repr__ method returns something like:
    <OCC.Core.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x02BB0758> >
    This is too much verbose.
    We prefer :
    <class 'gp_Pnt'>
    or
    <class 'TopoDS_Shape'>
    """
    klass_name = str(klass.__class__).split(".")[3].split("'")[0]
    repr_string = "<class '" + klass_name + "'"
# for TopoDS_Shape, we also look for the base type
    if klass_name == "TopoDS_Shape":
        if klass.IsNull():
            repr_string += ": Null>"
            return repr_string
        st = klass.ShapeType()
        types = {OCC.Core.TopAbs.TopAbs_VERTEX: "Vertex",
                 OCC.Core.TopAbs.TopAbs_SOLID: "Solid",
                 OCC.Core.TopAbs.TopAbs_EDGE: "Edge",
                 OCC.Core.TopAbs.TopAbs_FACE: "Face",
                 OCC.Core.TopAbs.TopAbs_SHELL: "Shell",
                 OCC.Core.TopAbs.TopAbs_WIRE: "Wire",
                 OCC.Core.TopAbs.TopAbs_COMPOUND: "Compound",
                 OCC.Core.TopAbs.TopAbs_COMPSOLID: "Compsolid"}
        repr_string += "; Type:%s" % types[st]        
    elif hasattr(klass, "IsNull"):
        if klass.IsNull():
            repr_string += "; Null"
    repr_string += ">"
    return repr_string


def process_exception(error, method_name, class_name):
    return _IFSelect.process_exception(error, method_name, class_name)

from six import with_metaclass
import warnings
from OCC.Wrapper.wrapper_utils import Proxy, deprecated

import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.Interface
import OCC.Core.TCollection
import OCC.Core.Message
import OCC.Core.OSD
import OCC.Core.TColStd
import OCC.Core.MoniTool
import OCC.Core.TopoDS
import OCC.Core.TopAbs
import OCC.Core.TopLoc
import OCC.Core.gp

from enum import IntEnum
from OCC.Core.Exception import *

IFSelect_Optional = _IFSelect.IFSelect_Optional
IFSelect_Editable = _IFSelect.IFSelect_Editable
IFSelect_EditProtected = _IFSelect.IFSelect_EditProtected
IFSelect_EditComputed = _IFSelect.IFSelect_EditComputed
IFSelect_EditRead = _IFSelect.IFSelect_EditRead
IFSelect_EditDynamic = _IFSelect.IFSelect_EditDynamic
IFSelect_ItemsByEntity = _IFSelect.IFSelect_ItemsByEntity
IFSelect_CountByItem = _IFSelect.IFSelect_CountByItem
IFSelect_ShortByItem = _IFSelect.IFSelect_ShortByItem
IFSelect_ListByItem = _IFSelect.IFSelect_ListByItem
IFSelect_EntitiesByItem = _IFSelect.IFSelect_EntitiesByItem
IFSelect_CountSummary = _IFSelect.IFSelect_CountSummary
IFSelect_GeneralInfo = _IFSelect.IFSelect_GeneralInfo
IFSelect_Mapping = _IFSelect.IFSelect_Mapping
IFSelect_ResultCount = _IFSelect.IFSelect_ResultCount
IFSelect_FailOnly = _IFSelect.IFSelect_FailOnly
IFSelect_FailAndWarn = _IFSelect.IFSelect_FailAndWarn
IFSelect_RemainForget = _IFSelect.IFSelect_RemainForget
IFSelect_RemainCompute = _IFSelect.IFSelect_RemainCompute
IFSelect_RemainDisplay = _IFSelect.IFSelect_RemainDisplay
IFSelect_RemainUndo = _IFSelect.IFSelect_RemainUndo
IFSelect_RetVoid = _IFSelect.IFSelect_RetVoid
IFSelect_RetDone = _IFSelect.IFSelect_RetDone
IFSelect_RetError = _IFSelect.IFSelect_RetError
IFSelect_RetFail = _IFSelect.IFSelect_RetFail
IFSelect_RetStop = _IFSelect.IFSelect_RetStop


class IFSelect_EditValue(IntEnum):
	IFSelect_Optional = 0
	IFSelect_Editable = 1
	IFSelect_EditProtected = 2
	IFSelect_EditComputed = 3
	IFSelect_EditRead = 4
	IFSelect_EditDynamic = 5
IFSelect_Optional = IFSelect_EditValue.IFSelect_Optional
IFSelect_Editable = IFSelect_EditValue.IFSelect_Editable
IFSelect_EditProtected = IFSelect_EditValue.IFSelect_EditProtected
IFSelect_EditComputed = IFSelect_EditValue.IFSelect_EditComputed
IFSelect_EditRead = IFSelect_EditValue.IFSelect_EditRead
IFSelect_EditDynamic = IFSelect_EditValue.IFSelect_EditDynamic

class IFSelect_PrintCount(IntEnum):
	IFSelect_ItemsByEntity = 0
	IFSelect_CountByItem = 1
	IFSelect_ShortByItem = 2
	IFSelect_ListByItem = 3
	IFSelect_EntitiesByItem = 4
	IFSelect_CountSummary = 5
	IFSelect_GeneralInfo = 6
	IFSelect_Mapping = 7
	IFSelect_ResultCount = 8
IFSelect_ItemsByEntity = IFSelect_PrintCount.IFSelect_ItemsByEntity
IFSelect_CountByItem = IFSelect_PrintCount.IFSelect_CountByItem
IFSelect_ShortByItem = IFSelect_PrintCount.IFSelect_ShortByItem
IFSelect_ListByItem = IFSelect_PrintCount.IFSelect_ListByItem
IFSelect_EntitiesByItem = IFSelect_PrintCount.IFSelect_EntitiesByItem
IFSelect_CountSummary = IFSelect_PrintCount.IFSelect_CountSummary
IFSelect_GeneralInfo = IFSelect_PrintCount.IFSelect_GeneralInfo
IFSelect_Mapping = IFSelect_PrintCount.IFSelect_Mapping
IFSelect_ResultCount = IFSelect_PrintCount.IFSelect_ResultCount

class IFSelect_PrintFail(IntEnum):
	IFSelect_FailOnly = 0
	IFSelect_FailAndWarn = 1
IFSelect_FailOnly = IFSelect_PrintFail.IFSelect_FailOnly
IFSelect_FailAndWarn = IFSelect_PrintFail.IFSelect_FailAndWarn

class IFSelect_RemainMode(IntEnum):
	IFSelect_RemainForget = 0
	IFSelect_RemainCompute = 1
	IFSelect_RemainDisplay = 2
	IFSelect_RemainUndo = 3
IFSelect_RemainForget = IFSelect_RemainMode.IFSelect_RemainForget
IFSelect_RemainCompute = IFSelect_RemainMode.IFSelect_RemainCompute
IFSelect_RemainDisplay = IFSelect_RemainMode.IFSelect_RemainDisplay
IFSelect_RemainUndo = IFSelect_RemainMode.IFSelect_RemainUndo

class IFSelect_ReturnStatus(IntEnum):
	IFSelect_RetVoid = 0
	IFSelect_RetDone = 1
	IFSelect_RetError = 2
	IFSelect_RetFail = 3
	IFSelect_RetStop = 4
IFSelect_RetVoid = IFSelect_ReturnStatus.IFSelect_RetVoid
IFSelect_RetDone = IFSelect_ReturnStatus.IFSelect_RetDone
IFSelect_RetError = IFSelect_ReturnStatus.IFSelect_RetError
IFSelect_RetFail = IFSelect_ReturnStatus.IFSelect_RetFail
IFSelect_RetStop = IFSelect_ReturnStatus.IFSelect_RetStop


def Handle_IFSelect_Activator_Create():
    return _IFSelect.Handle_IFSelect_Activator_Create()

def Handle_IFSelect_Activator_DownCast(t):
    return _IFSelect.Handle_IFSelect_Activator_DownCast(t)

def Handle_IFSelect_Activator_IsNull(t):
    return _IFSelect.Handle_IFSelect_Activator_IsNull(t)

def Handle_IFSelect_AppliedModifiers_Create():
    return _IFSelect.Handle_IFSelect_AppliedModifiers_Create()

def Handle_IFSelect_AppliedModifiers_DownCast(t):
    return _IFSelect.Handle_IFSelect_AppliedModifiers_DownCast(t)

def Handle_IFSelect_AppliedModifiers_IsNull(t):
    return _IFSelect.Handle_IFSelect_AppliedModifiers_IsNull(t)

def Handle_IFSelect_Dispatch_Create():
    return _IFSelect.Handle_IFSelect_Dispatch_Create()

def Handle_IFSelect_Dispatch_DownCast(t):
    return _IFSelect.Handle_IFSelect_Dispatch_DownCast(t)

def Handle_IFSelect_Dispatch_IsNull(t):
    return _IFSelect.Handle_IFSelect_Dispatch_IsNull(t)

def Handle_IFSelect_EditForm_Create():
    return _IFSelect.Handle_IFSelect_EditForm_Create()

def Handle_IFSelect_EditForm_DownCast(t):
    return _IFSelect.Handle_IFSelect_EditForm_DownCast(t)

def Handle_IFSelect_EditForm_IsNull(t):
    return _IFSelect.Handle_IFSelect_EditForm_IsNull(t)

def Handle_IFSelect_Editor_Create():
    return _IFSelect.Handle_IFSelect_Editor_Create()

def Handle_IFSelect_Editor_DownCast(t):
    return _IFSelect.Handle_IFSelect_Editor_DownCast(t)

def Handle_IFSelect_Editor_IsNull(t):
    return _IFSelect.Handle_IFSelect_Editor_IsNull(t)

def Handle_IFSelect_GeneralModifier_Create():
    return _IFSelect.Handle_IFSelect_GeneralModifier_Create()

def Handle_IFSelect_GeneralModifier_DownCast(t):
    return _IFSelect.Handle_IFSelect_GeneralModifier_DownCast(t)

def Handle_IFSelect_GeneralModifier_IsNull(t):
    return _IFSelect.Handle_IFSelect_GeneralModifier_IsNull(t)

def Handle_IFSelect_IntParam_Create():
    return _IFSelect.Handle_IFSelect_IntParam_Create()

def Handle_IFSelect_IntParam_DownCast(t):
    return _IFSelect.Handle_IFSelect_IntParam_DownCast(t)

def Handle_IFSelect_IntParam_IsNull(t):
    return _IFSelect.Handle_IFSelect_IntParam_IsNull(t)

def Handle_IFSelect_ListEditor_Create():
    return _IFSelect.Handle_IFSelect_ListEditor_Create()

def Handle_IFSelect_ListEditor_DownCast(t):
    return _IFSelect.Handle_IFSelect_ListEditor_DownCast(t)

def Handle_IFSelect_ListEditor_IsNull(t):
    return _IFSelect.Handle_IFSelect_ListEditor_IsNull(t)

def Handle_IFSelect_ModelCopier_Create():
    return _IFSelect.Handle_IFSelect_ModelCopier_Create()

def Handle_IFSelect_ModelCopier_DownCast(t):
    return _IFSelect.Handle_IFSelect_ModelCopier_DownCast(t)

def Handle_IFSelect_ModelCopier_IsNull(t):
    return _IFSelect.Handle_IFSelect_ModelCopier_IsNull(t)

def Handle_IFSelect_PacketList_Create():
    return _IFSelect.Handle_IFSelect_PacketList_Create()

def Handle_IFSelect_PacketList_DownCast(t):
    return _IFSelect.Handle_IFSelect_PacketList_DownCast(t)

def Handle_IFSelect_PacketList_IsNull(t):
    return _IFSelect.Handle_IFSelect_PacketList_IsNull(t)

def Handle_IFSelect_Selection_Create():
    return _IFSelect.Handle_IFSelect_Selection_Create()

def Handle_IFSelect_Selection_DownCast(t):
    return _IFSelect.Handle_IFSelect_Selection_DownCast(t)

def Handle_IFSelect_Selection_IsNull(t):
    return _IFSelect.Handle_IFSelect_Selection_IsNull(t)

def Handle_IFSelect_SessionDumper_Create():
    return _IFSelect.Handle_IFSelect_SessionDumper_Create()

def Handle_IFSelect_SessionDumper_DownCast(t):
    return _IFSelect.Handle_IFSelect_SessionDumper_DownCast(t)

def Handle_IFSelect_SessionDumper_IsNull(t):
    return _IFSelect.Handle_IFSelect_SessionDumper_IsNull(t)

def Handle_IFSelect_ShareOut_Create():
    return _IFSelect.Handle_IFSelect_ShareOut_Create()

def Handle_IFSelect_ShareOut_DownCast(t):
    return _IFSelect.Handle_IFSelect_ShareOut_DownCast(t)

def Handle_IFSelect_ShareOut_IsNull(t):
    return _IFSelect.Handle_IFSelect_ShareOut_IsNull(t)

def Handle_IFSelect_Signature_Create():
    return _IFSelect.Handle_IFSelect_Signature_Create()

def Handle_IFSelect_Signature_DownCast(t):
    return _IFSelect.Handle_IFSelect_Signature_DownCast(t)

def Handle_IFSelect_Signature_IsNull(t):
    return _IFSelect.Handle_IFSelect_Signature_IsNull(t)

def Handle_IFSelect_SignatureList_Create():
    return _IFSelect.Handle_IFSelect_SignatureList_Create()

def Handle_IFSelect_SignatureList_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignatureList_DownCast(t)

def Handle_IFSelect_SignatureList_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignatureList_IsNull(t)

def Handle_IFSelect_Transformer_Create():
    return _IFSelect.Handle_IFSelect_Transformer_Create()

def Handle_IFSelect_Transformer_DownCast(t):
    return _IFSelect.Handle_IFSelect_Transformer_DownCast(t)

def Handle_IFSelect_Transformer_IsNull(t):
    return _IFSelect.Handle_IFSelect_Transformer_IsNull(t)

def Handle_IFSelect_WorkLibrary_Create():
    return _IFSelect.Handle_IFSelect_WorkLibrary_Create()

def Handle_IFSelect_WorkLibrary_DownCast(t):
    return _IFSelect.Handle_IFSelect_WorkLibrary_DownCast(t)

def Handle_IFSelect_WorkLibrary_IsNull(t):
    return _IFSelect.Handle_IFSelect_WorkLibrary_IsNull(t)

def Handle_IFSelect_WorkSession_Create():
    return _IFSelect.Handle_IFSelect_WorkSession_Create()

def Handle_IFSelect_WorkSession_DownCast(t):
    return _IFSelect.Handle_IFSelect_WorkSession_DownCast(t)

def Handle_IFSelect_WorkSession_IsNull(t):
    return _IFSelect.Handle_IFSelect_WorkSession_IsNull(t)

def Handle_IFSelect_Act_Create():
    return _IFSelect.Handle_IFSelect_Act_Create()

def Handle_IFSelect_Act_DownCast(t):
    return _IFSelect.Handle_IFSelect_Act_DownCast(t)

def Handle_IFSelect_Act_IsNull(t):
    return _IFSelect.Handle_IFSelect_Act_IsNull(t)

def Handle_IFSelect_BasicDumper_Create():
    return _IFSelect.Handle_IFSelect_BasicDumper_Create()

def Handle_IFSelect_BasicDumper_DownCast(t):
    return _IFSelect.Handle_IFSelect_BasicDumper_DownCast(t)

def Handle_IFSelect_BasicDumper_IsNull(t):
    return _IFSelect.Handle_IFSelect_BasicDumper_IsNull(t)

def Handle_IFSelect_CheckCounter_Create():
    return _IFSelect.Handle_IFSelect_CheckCounter_Create()

def Handle_IFSelect_CheckCounter_DownCast(t):
    return _IFSelect.Handle_IFSelect_CheckCounter_DownCast(t)

def Handle_IFSelect_CheckCounter_IsNull(t):
    return _IFSelect.Handle_IFSelect_CheckCounter_IsNull(t)

def Handle_IFSelect_DispGlobal_Create():
    return _IFSelect.Handle_IFSelect_DispGlobal_Create()

def Handle_IFSelect_DispGlobal_DownCast(t):
    return _IFSelect.Handle_IFSelect_DispGlobal_DownCast(t)

def Handle_IFSelect_DispGlobal_IsNull(t):
    return _IFSelect.Handle_IFSelect_DispGlobal_IsNull(t)

def Handle_IFSelect_DispPerCount_Create():
    return _IFSelect.Handle_IFSelect_DispPerCount_Create()

def Handle_IFSelect_DispPerCount_DownCast(t):
    return _IFSelect.Handle_IFSelect_DispPerCount_DownCast(t)

def Handle_IFSelect_DispPerCount_IsNull(t):
    return _IFSelect.Handle_IFSelect_DispPerCount_IsNull(t)

def Handle_IFSelect_DispPerFiles_Create():
    return _IFSelect.Handle_IFSelect_DispPerFiles_Create()

def Handle_IFSelect_DispPerFiles_DownCast(t):
    return _IFSelect.Handle_IFSelect_DispPerFiles_DownCast(t)

def Handle_IFSelect_DispPerFiles_IsNull(t):
    return _IFSelect.Handle_IFSelect_DispPerFiles_IsNull(t)

def Handle_IFSelect_DispPerOne_Create():
    return _IFSelect.Handle_IFSelect_DispPerOne_Create()

def Handle_IFSelect_DispPerOne_DownCast(t):
    return _IFSelect.Handle_IFSelect_DispPerOne_DownCast(t)

def Handle_IFSelect_DispPerOne_IsNull(t):
    return _IFSelect.Handle_IFSelect_DispPerOne_IsNull(t)

def Handle_IFSelect_DispPerSignature_Create():
    return _IFSelect.Handle_IFSelect_DispPerSignature_Create()

def Handle_IFSelect_DispPerSignature_DownCast(t):
    return _IFSelect.Handle_IFSelect_DispPerSignature_DownCast(t)

def Handle_IFSelect_DispPerSignature_IsNull(t):
    return _IFSelect.Handle_IFSelect_DispPerSignature_IsNull(t)

def Handle_IFSelect_Modifier_Create():
    return _IFSelect.Handle_IFSelect_Modifier_Create()

def Handle_IFSelect_Modifier_DownCast(t):
    return _IFSelect.Handle_IFSelect_Modifier_DownCast(t)

def Handle_IFSelect_Modifier_IsNull(t):
    return _IFSelect.Handle_IFSelect_Modifier_IsNull(t)

def Handle_IFSelect_ParamEditor_Create():
    return _IFSelect.Handle_IFSelect_ParamEditor_Create()

def Handle_IFSelect_ParamEditor_DownCast(t):
    return _IFSelect.Handle_IFSelect_ParamEditor_DownCast(t)

def Handle_IFSelect_ParamEditor_IsNull(t):
    return _IFSelect.Handle_IFSelect_ParamEditor_IsNull(t)

def Handle_IFSelect_SelectBase_Create():
    return _IFSelect.Handle_IFSelect_SelectBase_Create()

def Handle_IFSelect_SelectBase_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectBase_DownCast(t)

def Handle_IFSelect_SelectBase_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectBase_IsNull(t)

def Handle_IFSelect_SelectCombine_Create():
    return _IFSelect.Handle_IFSelect_SelectCombine_Create()

def Handle_IFSelect_SelectCombine_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectCombine_DownCast(t)

def Handle_IFSelect_SelectCombine_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectCombine_IsNull(t)

def Handle_IFSelect_SelectControl_Create():
    return _IFSelect.Handle_IFSelect_SelectControl_Create()

def Handle_IFSelect_SelectControl_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectControl_DownCast(t)

def Handle_IFSelect_SelectControl_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectControl_IsNull(t)

def Handle_IFSelect_SelectDeduct_Create():
    return _IFSelect.Handle_IFSelect_SelectDeduct_Create()

def Handle_IFSelect_SelectDeduct_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectDeduct_DownCast(t)

def Handle_IFSelect_SelectDeduct_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectDeduct_IsNull(t)

def Handle_IFSelect_SessionPilot_Create():
    return _IFSelect.Handle_IFSelect_SessionPilot_Create()

def Handle_IFSelect_SessionPilot_DownCast(t):
    return _IFSelect.Handle_IFSelect_SessionPilot_DownCast(t)

def Handle_IFSelect_SessionPilot_IsNull(t):
    return _IFSelect.Handle_IFSelect_SessionPilot_IsNull(t)

def Handle_IFSelect_SignCategory_Create():
    return _IFSelect.Handle_IFSelect_SignCategory_Create()

def Handle_IFSelect_SignCategory_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignCategory_DownCast(t)

def Handle_IFSelect_SignCategory_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignCategory_IsNull(t)

def Handle_IFSelect_SignCounter_Create():
    return _IFSelect.Handle_IFSelect_SignCounter_Create()

def Handle_IFSelect_SignCounter_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignCounter_DownCast(t)

def Handle_IFSelect_SignCounter_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignCounter_IsNull(t)

def Handle_IFSelect_SignMultiple_Create():
    return _IFSelect.Handle_IFSelect_SignMultiple_Create()

def Handle_IFSelect_SignMultiple_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignMultiple_DownCast(t)

def Handle_IFSelect_SignMultiple_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignMultiple_IsNull(t)

def Handle_IFSelect_SignType_Create():
    return _IFSelect.Handle_IFSelect_SignType_Create()

def Handle_IFSelect_SignType_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignType_DownCast(t)

def Handle_IFSelect_SignType_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignType_IsNull(t)

def Handle_IFSelect_SignValidity_Create():
    return _IFSelect.Handle_IFSelect_SignValidity_Create()

def Handle_IFSelect_SignValidity_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignValidity_DownCast(t)

def Handle_IFSelect_SignValidity_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignValidity_IsNull(t)

def Handle_IFSelect_TransformStandard_Create():
    return _IFSelect.Handle_IFSelect_TransformStandard_Create()

def Handle_IFSelect_TransformStandard_DownCast(t):
    return _IFSelect.Handle_IFSelect_TransformStandard_DownCast(t)

def Handle_IFSelect_TransformStandard_IsNull(t):
    return _IFSelect.Handle_IFSelect_TransformStandard_IsNull(t)

def Handle_IFSelect_GraphCounter_Create():
    return _IFSelect.Handle_IFSelect_GraphCounter_Create()

def Handle_IFSelect_GraphCounter_DownCast(t):
    return _IFSelect.Handle_IFSelect_GraphCounter_DownCast(t)

def Handle_IFSelect_GraphCounter_IsNull(t):
    return _IFSelect.Handle_IFSelect_GraphCounter_IsNull(t)

def Handle_IFSelect_ModifEditForm_Create():
    return _IFSelect.Handle_IFSelect_ModifEditForm_Create()

def Handle_IFSelect_ModifEditForm_DownCast(t):
    return _IFSelect.Handle_IFSelect_ModifEditForm_DownCast(t)

def Handle_IFSelect_ModifEditForm_IsNull(t):
    return _IFSelect.Handle_IFSelect_ModifEditForm_IsNull(t)

def Handle_IFSelect_ModifReorder_Create():
    return _IFSelect.Handle_IFSelect_ModifReorder_Create()

def Handle_IFSelect_ModifReorder_DownCast(t):
    return _IFSelect.Handle_IFSelect_ModifReorder_DownCast(t)

def Handle_IFSelect_ModifReorder_IsNull(t):
    return _IFSelect.Handle_IFSelect_ModifReorder_IsNull(t)

def Handle_IFSelect_SelectAnyList_Create():
    return _IFSelect.Handle_IFSelect_SelectAnyList_Create()

def Handle_IFSelect_SelectAnyList_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectAnyList_DownCast(t)

def Handle_IFSelect_SelectAnyList_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectAnyList_IsNull(t)

def Handle_IFSelect_SelectDiff_Create():
    return _IFSelect.Handle_IFSelect_SelectDiff_Create()

def Handle_IFSelect_SelectDiff_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectDiff_DownCast(t)

def Handle_IFSelect_SelectDiff_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectDiff_IsNull(t)

def Handle_IFSelect_SelectEntityNumber_Create():
    return _IFSelect.Handle_IFSelect_SelectEntityNumber_Create()

def Handle_IFSelect_SelectEntityNumber_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectEntityNumber_DownCast(t)

def Handle_IFSelect_SelectEntityNumber_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectEntityNumber_IsNull(t)

def Handle_IFSelect_SelectExplore_Create():
    return _IFSelect.Handle_IFSelect_SelectExplore_Create()

def Handle_IFSelect_SelectExplore_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectExplore_DownCast(t)

def Handle_IFSelect_SelectExplore_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectExplore_IsNull(t)

def Handle_IFSelect_SelectExtract_Create():
    return _IFSelect.Handle_IFSelect_SelectExtract_Create()

def Handle_IFSelect_SelectExtract_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectExtract_DownCast(t)

def Handle_IFSelect_SelectExtract_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectExtract_IsNull(t)

def Handle_IFSelect_SelectIntersection_Create():
    return _IFSelect.Handle_IFSelect_SelectIntersection_Create()

def Handle_IFSelect_SelectIntersection_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectIntersection_DownCast(t)

def Handle_IFSelect_SelectIntersection_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectIntersection_IsNull(t)

def Handle_IFSelect_SelectModelEntities_Create():
    return _IFSelect.Handle_IFSelect_SelectModelEntities_Create()

def Handle_IFSelect_SelectModelEntities_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectModelEntities_DownCast(t)

def Handle_IFSelect_SelectModelEntities_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectModelEntities_IsNull(t)

def Handle_IFSelect_SelectModelRoots_Create():
    return _IFSelect.Handle_IFSelect_SelectModelRoots_Create()

def Handle_IFSelect_SelectModelRoots_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectModelRoots_DownCast(t)

def Handle_IFSelect_SelectModelRoots_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectModelRoots_IsNull(t)

def Handle_IFSelect_SelectPointed_Create():
    return _IFSelect.Handle_IFSelect_SelectPointed_Create()

def Handle_IFSelect_SelectPointed_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectPointed_DownCast(t)

def Handle_IFSelect_SelectPointed_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectPointed_IsNull(t)

def Handle_IFSelect_SelectShared_Create():
    return _IFSelect.Handle_IFSelect_SelectShared_Create()

def Handle_IFSelect_SelectShared_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectShared_DownCast(t)

def Handle_IFSelect_SelectShared_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectShared_IsNull(t)

def Handle_IFSelect_SelectSharing_Create():
    return _IFSelect.Handle_IFSelect_SelectSharing_Create()

def Handle_IFSelect_SelectSharing_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSharing_DownCast(t)

def Handle_IFSelect_SelectSharing_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSharing_IsNull(t)

def Handle_IFSelect_SelectSuite_Create():
    return _IFSelect.Handle_IFSelect_SelectSuite_Create()

def Handle_IFSelect_SelectSuite_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSuite_DownCast(t)

def Handle_IFSelect_SelectSuite_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSuite_IsNull(t)

def Handle_IFSelect_SelectUnion_Create():
    return _IFSelect.Handle_IFSelect_SelectUnion_Create()

def Handle_IFSelect_SelectUnion_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectUnion_DownCast(t)

def Handle_IFSelect_SelectUnion_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectUnion_IsNull(t)

def Handle_IFSelect_SignAncestor_Create():
    return _IFSelect.Handle_IFSelect_SignAncestor_Create()

def Handle_IFSelect_SignAncestor_DownCast(t):
    return _IFSelect.Handle_IFSelect_SignAncestor_DownCast(t)

def Handle_IFSelect_SignAncestor_IsNull(t):
    return _IFSelect.Handle_IFSelect_SignAncestor_IsNull(t)

def Handle_IFSelect_SelectAnyType_Create():
    return _IFSelect.Handle_IFSelect_SelectAnyType_Create()

def Handle_IFSelect_SelectAnyType_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectAnyType_DownCast(t)

def Handle_IFSelect_SelectAnyType_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectAnyType_IsNull(t)

def Handle_IFSelect_SelectErrorEntities_Create():
    return _IFSelect.Handle_IFSelect_SelectErrorEntities_Create()

def Handle_IFSelect_SelectErrorEntities_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectErrorEntities_DownCast(t)

def Handle_IFSelect_SelectErrorEntities_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectErrorEntities_IsNull(t)

def Handle_IFSelect_SelectFlag_Create():
    return _IFSelect.Handle_IFSelect_SelectFlag_Create()

def Handle_IFSelect_SelectFlag_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectFlag_DownCast(t)

def Handle_IFSelect_SelectFlag_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectFlag_IsNull(t)

def Handle_IFSelect_SelectInList_Create():
    return _IFSelect.Handle_IFSelect_SelectInList_Create()

def Handle_IFSelect_SelectInList_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectInList_DownCast(t)

def Handle_IFSelect_SelectInList_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectInList_IsNull(t)

def Handle_IFSelect_SelectRange_Create():
    return _IFSelect.Handle_IFSelect_SelectRange_Create()

def Handle_IFSelect_SelectRange_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectRange_DownCast(t)

def Handle_IFSelect_SelectRange_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectRange_IsNull(t)

def Handle_IFSelect_SelectRootComps_Create():
    return _IFSelect.Handle_IFSelect_SelectRootComps_Create()

def Handle_IFSelect_SelectRootComps_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectRootComps_DownCast(t)

def Handle_IFSelect_SelectRootComps_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectRootComps_IsNull(t)

def Handle_IFSelect_SelectRoots_Create():
    return _IFSelect.Handle_IFSelect_SelectRoots_Create()

def Handle_IFSelect_SelectRoots_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectRoots_DownCast(t)

def Handle_IFSelect_SelectRoots_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectRoots_IsNull(t)

def Handle_IFSelect_SelectSent_Create():
    return _IFSelect.Handle_IFSelect_SelectSent_Create()

def Handle_IFSelect_SelectSent_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSent_DownCast(t)

def Handle_IFSelect_SelectSent_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSent_IsNull(t)

def Handle_IFSelect_SelectSignature_Create():
    return _IFSelect.Handle_IFSelect_SelectSignature_Create()

def Handle_IFSelect_SelectSignature_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSignature_DownCast(t)

def Handle_IFSelect_SelectSignature_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSignature_IsNull(t)

def Handle_IFSelect_SelectSignedShared_Create():
    return _IFSelect.Handle_IFSelect_SelectSignedShared_Create()

def Handle_IFSelect_SelectSignedShared_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSignedShared_DownCast(t)

def Handle_IFSelect_SelectSignedShared_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSignedShared_IsNull(t)

def Handle_IFSelect_SelectSignedSharing_Create():
    return _IFSelect.Handle_IFSelect_SelectSignedSharing_Create()

def Handle_IFSelect_SelectSignedSharing_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectSignedSharing_DownCast(t)

def Handle_IFSelect_SelectSignedSharing_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectSignedSharing_IsNull(t)

def Handle_IFSelect_SelectUnknownEntities_Create():
    return _IFSelect.Handle_IFSelect_SelectUnknownEntities_Create()

def Handle_IFSelect_SelectUnknownEntities_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectUnknownEntities_DownCast(t)

def Handle_IFSelect_SelectUnknownEntities_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectUnknownEntities_IsNull(t)

def Handle_IFSelect_SelectIncorrectEntities_Create():
    return _IFSelect.Handle_IFSelect_SelectIncorrectEntities_Create()

def Handle_IFSelect_SelectIncorrectEntities_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectIncorrectEntities_DownCast(t)

def Handle_IFSelect_SelectIncorrectEntities_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectIncorrectEntities_IsNull(t)

def Handle_IFSelect_SelectType_Create():
    return _IFSelect.Handle_IFSelect_SelectType_Create()

def Handle_IFSelect_SelectType_DownCast(t):
    return _IFSelect.Handle_IFSelect_SelectType_DownCast(t)

def Handle_IFSelect_SelectType_IsNull(t):
    return _IFSelect.Handle_IFSelect_SelectType_IsNull(t)

def Handle_IFSelect_HSeqOfSelection_Create():
    return _IFSelect.Handle_IFSelect_HSeqOfSelection_Create()

def Handle_IFSelect_HSeqOfSelection_DownCast(t):
    return _IFSelect.Handle_IFSelect_HSeqOfSelection_DownCast(t)

def Handle_IFSelect_HSeqOfSelection_IsNull(t):
    return _IFSelect.Handle_IFSelect_HSeqOfSelection_IsNull(t)
class IFSelect_SequenceOfAppliedModifiers(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_begin(self)

    def end(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_end(self)

    def cbegin(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_cbegin(self)

    def cend(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_cend(self)

    def __init__(self, *args):
        _IFSelect.IFSelect_SequenceOfAppliedModifiers_swiginit(self, _IFSelect.new_IFSelect_SequenceOfAppliedModifiers(*args))

    def Size(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Size(self)

    def Length(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Length(self)

    def Lower(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Lower(self)

    def Upper(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Upper(self)

    def IsEmpty(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_IsEmpty(self)

    def Reverse(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Reverse(self)

    def Exchange(self, I, J):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Assign(self, theOther)

    def Set(self, theOther):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Set(self, theOther)

    def Remove(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Remove(self, *args)

    def Append(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Append(self, *args)

    def Prepend(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Split(self, theIndex, theSeq)

    def First(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_First(self)

    def ChangeFirst(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_ChangeFirst(self)

    def Last(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Last(self)

    def ChangeLast(self):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_ChangeLast(self)

    def Value(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _IFSelect.delete_IFSelect_SequenceOfAppliedModifiers

    def __len__(self):
        return self.Size()


# Register IFSelect_SequenceOfAppliedModifiers in _IFSelect:
_IFSelect.IFSelect_SequenceOfAppliedModifiers_swigregister(IFSelect_SequenceOfAppliedModifiers)
class IFSelect_SequenceOfGeneralModifier(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_begin(self)

    def end(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_end(self)

    def cbegin(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_cbegin(self)

    def cend(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_cend(self)

    def __init__(self, *args):
        _IFSelect.IFSelect_SequenceOfGeneralModifier_swiginit(self, _IFSelect.new_IFSelect_SequenceOfGeneralModifier(*args))

    def Size(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Size(self)

    def Length(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Length(self)

    def Lower(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Lower(self)

    def Upper(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Upper(self)

    def IsEmpty(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_IsEmpty(self)

    def Reverse(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Reverse(self)

    def Exchange(self, I, J):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Assign(self, theOther)

    def Set(self, theOther):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Set(self, theOther)

    def Remove(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Remove(self, *args)

    def Append(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Append(self, *args)

    def Prepend(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Split(self, theIndex, theSeq)

    def First(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_First(self)

    def ChangeFirst(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_ChangeFirst(self)

    def Last(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Last(self)

    def ChangeLast(self):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_ChangeLast(self)

    def Value(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _IFSelect.delete_IFSelect_SequenceOfGeneralModifier

    def __len__(self):
        return self.Size()


# Register IFSelect_SequenceOfGeneralModifier in _IFSelect:
_IFSelect.IFSelect_SequenceOfGeneralModifier_swigregister(IFSelect_SequenceOfGeneralModifier)
class IFSelect_SequenceOfInterfaceModel(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_begin(self)

    def end(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_end(self)

    def cbegin(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_cbegin(self)

    def cend(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_cend(self)

    def __init__(self, *args):
        _IFSelect.IFSelect_SequenceOfInterfaceModel_swiginit(self, _IFSelect.new_IFSelect_SequenceOfInterfaceModel(*args))

    def Size(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Size(self)

    def Length(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Length(self)

    def Lower(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Lower(self)

    def Upper(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Upper(self)

    def IsEmpty(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_IsEmpty(self)

    def Reverse(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Reverse(self)

    def Exchange(self, I, J):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Assign(self, theOther)

    def Set(self, theOther):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Set(self, theOther)

    def Remove(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Remove(self, *args)

    def Append(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Append(self, *args)

    def Prepend(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Split(self, theIndex, theSeq)

    def First(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_First(self)

    def ChangeFirst(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_ChangeFirst(self)

    def Last(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Last(self)

    def ChangeLast(self):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_ChangeLast(self)

    def Value(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _IFSelect.delete_IFSelect_SequenceOfInterfaceModel

    def __len__(self):
        return self.Size()


# Register IFSelect_SequenceOfInterfaceModel in _IFSelect:
_IFSelect.IFSelect_SequenceOfInterfaceModel_swigregister(IFSelect_SequenceOfInterfaceModel)
class IFSelect_TSeqOfDispatch(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_begin(self)

    def end(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_end(self)

    def cbegin(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_cbegin(self)

    def cend(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_cend(self)

    def __init__(self, *args):
        _IFSelect.IFSelect_TSeqOfDispatch_swiginit(self, _IFSelect.new_IFSelect_TSeqOfDispatch(*args))

    def Size(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Size(self)

    def Length(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Length(self)

    def Lower(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Lower(self)

    def Upper(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Upper(self)

    def IsEmpty(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_IsEmpty(self)

    def Reverse(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Reverse(self)

    def Exchange(self, I, J):
        return _IFSelect.IFSelect_TSeqOfDispatch_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _IFSelect.IFSelect_TSeqOfDispatch_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _IFSelect.IFSelect_TSeqOfDispatch_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _IFSelect.IFSelect_TSeqOfDispatch_Assign(self, theOther)

    def Set(self, theOther):
        return _IFSelect.IFSelect_TSeqOfDispatch_Set(self, theOther)

    def Remove(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_Remove(self, *args)

    def Append(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_Append(self, *args)

    def Prepend(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _IFSelect.IFSelect_TSeqOfDispatch_Split(self, theIndex, theSeq)

    def First(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_First(self)

    def ChangeFirst(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_ChangeFirst(self)

    def Last(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_Last(self)

    def ChangeLast(self):
        return _IFSelect.IFSelect_TSeqOfDispatch_ChangeLast(self)

    def Value(self, theIndex):
        return _IFSelect.IFSelect_TSeqOfDispatch_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _IFSelect.IFSelect_TSeqOfDispatch_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _IFSelect.IFSelect_TSeqOfDispatch_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _IFSelect.delete_IFSelect_TSeqOfDispatch

    def __len__(self):
        return self.Size()


# Register IFSelect_TSeqOfDispatch in _IFSelect:
_IFSelect.IFSelect_TSeqOfDispatch_swigregister(IFSelect_TSeqOfDispatch)
class IFSelect_TSeqOfSelection(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def begin(self):
        return _IFSelect.IFSelect_TSeqOfSelection_begin(self)

    def end(self):
        return _IFSelect.IFSelect_TSeqOfSelection_end(self)

    def cbegin(self):
        return _IFSelect.IFSelect_TSeqOfSelection_cbegin(self)

    def cend(self):
        return _IFSelect.IFSelect_TSeqOfSelection_cend(self)

    def __init__(self, *args):
        _IFSelect.IFSelect_TSeqOfSelection_swiginit(self, _IFSelect.new_IFSelect_TSeqOfSelection(*args))

    def Size(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Size(self)

    def Length(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Length(self)

    def Lower(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Lower(self)

    def Upper(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Upper(self)

    def IsEmpty(self):
        return _IFSelect.IFSelect_TSeqOfSelection_IsEmpty(self)

    def Reverse(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Reverse(self)

    def Exchange(self, I, J):
        return _IFSelect.IFSelect_TSeqOfSelection_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _IFSelect.IFSelect_TSeqOfSelection_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _IFSelect.IFSelect_TSeqOfSelection_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _IFSelect.IFSelect_TSeqOfSelection_Assign(self, theOther)

    def Set(self, theOther):
        return _IFSelect.IFSelect_TSeqOfSelection_Set(self, theOther)

    def Remove(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_Remove(self, *args)

    def Append(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_Append(self, *args)

    def Prepend(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _IFSelect.IFSelect_TSeqOfSelection_Split(self, theIndex, theSeq)

    def First(self):
        return _IFSelect.IFSelect_TSeqOfSelection_First(self)

    def ChangeFirst(self):
        return _IFSelect.IFSelect_TSeqOfSelection_ChangeFirst(self)

    def Last(self):
        return _IFSelect.IFSelect_TSeqOfSelection_Last(self)

    def ChangeLast(self):
        return _IFSelect.IFSelect_TSeqOfSelection_ChangeLast(self)

    def Value(self, theIndex):
        return _IFSelect.IFSelect_TSeqOfSelection_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _IFSelect.IFSelect_TSeqOfSelection_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _IFSelect.IFSelect_TSeqOfSelection___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _IFSelect.IFSelect_TSeqOfSelection_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _IFSelect.delete_IFSelect_TSeqOfSelection

    def __len__(self):
        return self.Size()


# Register IFSelect_TSeqOfSelection in _IFSelect:
_IFSelect.IFSelect_TSeqOfSelection_swigregister(IFSelect_TSeqOfSelection)
class ifselect(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    @staticmethod
    def RestoreSession(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        file: str

        Return
        -------
        bool

        Description
        -----------
        Restore the state of a worksession from ifselect, by using a sessionfile from ifselect. returns true if done, false in case of error on writing. <file> gives the name of the file to be used (this avoids to export the class sessionfile).

        """
        return _IFSelect.ifselect_RestoreSession(*args)

    @staticmethod
    def SaveSession(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        file: str

        Return
        -------
        bool

        Description
        -----------
        Saves the state of a worksession from ifselect, by using a sessionfile from ifselect. returns true if done, false in case of error on writing. <file> gives the name of the file to be produced (this avoids to export the class sessionfile).

        """
        return _IFSelect.ifselect_SaveSession(*args)

    __repr__ = _dumps_object


    def __init__(self):
        _IFSelect.ifselect_swiginit(self, _IFSelect.new_ifselect())
    __swig_destroy__ = _IFSelect.delete_ifselect

# Register ifselect in _IFSelect:
_IFSelect.ifselect_swigregister(ifselect)
class IFSelect_Activator(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Add(self, *args):
        r"""

        Parameters
        ----------
        number: int
        command: str

        Return
        -------
        None

        Description
        -----------
        Allows a self-definition by an activator of the commands it processes, call the class method adding (mode 0).

        """
        return _IFSelect.IFSelect_Activator_Add(self, *args)

    def AddSet(self, *args):
        r"""

        Parameters
        ----------
        number: int
        command: str

        Return
        -------
        None

        Description
        -----------
        Same as add but specifies that this command is candidate for xset (creation of items, xset: named items; mode 1).

        """
        return _IFSelect.IFSelect_Activator_AddSet(self, *args)

    @staticmethod
    def Adding(*args):
        r"""

        Parameters
        ----------
        actor: IFSelect_Activator
        number: int
        command: str
        mode: int

        Return
        -------
        None

        Description
        -----------
        Records, in a dictionary available for all the activators, the command title an activator can process, attached with its number, proper for this activator <mode> allows to distinguish various execution modes 0: default mode; 1: for xset.

        """
        return _IFSelect.IFSelect_Activator_Adding(*args)

    @staticmethod
    def Commands(*args):
        r"""

        Parameters
        ----------
        mode: int (optional, default to -1)
        command: str (optional, default to )

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfAsciiString>

        Description
        -----------
        Returns, for a root of command title, the list of possible commands. <mode>: -1 (d) for all commands if <commands> is empty -1 + command: about a group , >= 0 see adding by default, it returns the whole list of known commands.

        """
        return _IFSelect.IFSelect_Activator_Commands(*args)

    def Do(self, *args):
        r"""

        Parameters
        ----------
        number: int
        pilot: IFSelect_SessionPilot

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Tries to execute a command line. <number> is the number of the command for this activator. it must forecast to record the result of the execution, for need of undo-redo must returns: 0 for a void command (not to be recorded), 1 if execution ok, -1 if command incorrect, -2 if error on execution.

        """
        return _IFSelect.IFSelect_Activator_Do(self, *args)

    def File(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_Activator_File(self, *args)

    def Group(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_Activator_Group(self, *args)

    def Help(self, *args):
        r"""

        Parameters
        ----------
        number: int

        Return
        -------
        str

        Description
        -----------
        Sends a short help message for a given command identified by it number for this activator (must take one line max).

        """
        return _IFSelect.IFSelect_Activator_Help(self, *args)

    @staticmethod
    def Mode(*args):
        r"""

        Parameters
        ----------
        command: str

        Return
        -------
        int

        Description
        -----------
        Returns mode recorded for a command. -1 if not found.

        """
        return _IFSelect.IFSelect_Activator_Mode(*args)

    @staticmethod
    def Remove(*args):
        r"""

        Parameters
        ----------
        command: str

        Return
        -------
        None

        Description
        -----------
        Removes a command, if it is recorded (else, does nothing).

        """
        return _IFSelect.IFSelect_Activator_Remove(*args)

    @staticmethod
    def Select(*args):
        r"""

        Parameters
        ----------
        command: str
        actor: IFSelect_Activator

        Return
        -------
        number: int

        Description
        -----------
        Selects, for a command given by its title, an actor with its command number. returns true if found, false else.

        """
        return _IFSelect.IFSelect_Activator_Select(*args)

    def SetForGroup(self, *args):
        r"""

        Parameters
        ----------
        group: str
        file: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Group and setgroup define a 'group of commands' which correspond to an activator. default is 'xstep' also a file may be attached.

        """
        return _IFSelect.IFSelect_Activator_SetForGroup(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Activator_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Activator

# Register IFSelect_Activator in _IFSelect:
_IFSelect.IFSelect_Activator_swigregister(IFSelect_Activator)
class IFSelect_AppliedModifiers(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        nbmax: int
        nbent: int

        Return
        -------
        None

        Description
        -----------
        Creates an appliedmodifiers, ready to record up to <nbmax> modifiers, on a model of <nbent> entities.

        """
        _IFSelect.IFSelect_AppliedModifiers_swiginit(self, _IFSelect.new_IFSelect_AppliedModifiers(*args))

    def AddModif(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_GeneralModifier

        Return
        -------
        bool

        Description
        -----------
        Records a modifier. by default, it is to apply on all a produced file. further calls to addnum will restrict this. returns true if done, false if too many modifiers are already recorded.

        """
        return _IFSelect.IFSelect_AppliedModifiers_AddModif(self, *args)

    def AddNum(self, *args):
        r"""

        Parameters
        ----------
        nument: int

        Return
        -------
        bool

        Description
        -----------
        Adds a number of entity of the output file to be applied on. if a sequence of addnum is called after addmodif, this modifier will be applied on the list of designated entities. else, it will be applied on all the file returns true if done, false if no modifier has yet been added.

        """
        return _IFSelect.IFSelect_AppliedModifiers_AddNum(self, *args)

    def Count(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of recorded modifiers.

        """
        return _IFSelect.IFSelect_AppliedModifiers_Count(self, *args)

    def IsForAll(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if the applied modifier queried by last call to item is to be applied to all the produced file. else, <entcount> returned by item gives the count of entity numbers, each one is queried by itemnum.

        """
        return _IFSelect.IFSelect_AppliedModifiers_IsForAll(self, *args)

    def Item(self, *args):
        r"""

        Parameters
        ----------
        num: int
        modif: IFSelect_GeneralModifier

        Return
        -------
        entcount: int

        Description
        -----------
        Returns the description for applied modifier n0 <num>: the modifier itself, and the count of entities to be applied on. if no specific list of number has been defined, returns the total count of entities of the file if this count is zero, then the modifier applies to all the file (see below). else, the numbers are then queried by calls to itemnum between 1 and <entcount> returns true if ok, false if <num> is out of range.

        """
        return _IFSelect.IFSelect_AppliedModifiers_Item(self, *args)

    def ItemList(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfInteger>

        Description
        -----------
        Returns the list of entities to be applied on (see item) as a hsequence (isforall produces the complete list of all the entity numbers of the file.

        """
        return _IFSelect.IFSelect_AppliedModifiers_ItemList(self, *args)

    def ItemNum(self, *args):
        r"""

        Parameters
        ----------
        nument: int

        Return
        -------
        int

        Description
        -----------
        Returns a numero of entity to be applied on, given its rank in the list. if no list is defined (i.e. for all the file), returns <nument> itself, to give all the entities of the file returns 0 if <nument> out of range.

        """
        return _IFSelect.IFSelect_AppliedModifiers_ItemNum(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_AppliedModifiers_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_AppliedModifiers

# Register IFSelect_AppliedModifiers in _IFSelect:
_IFSelect.IFSelect_AppliedModifiers_swigregister(IFSelect_AppliedModifiers)
class IFSelect_ContextModif(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        graph: Interface_Graph
        TC: Interface_CopyTool
        filename: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Prepares a contextmodif with these information: - the graph established from original model (target passed directly to modifier) - the copytool which detains the copycontrol, which maps starting (in original) and result (in target) entities - an optional file name (for file output) //! such a contextmodif is considered to be applied on all transferred entities (no filter active).

        Parameters
        ----------
        graph: Interface_Graph
        filename: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Prepares a contextmodif with these information: - the graph established from original model (target passed directly to modifier) - an optional file name (for file output) here, no copycontrol, hence all entities are considered equal as starting and result //! such a contextmodif is considered to be applied on all transferred entities (no filter active).

        """
        _IFSelect.IFSelect_ContextModif_swiginit(self, _IFSelect.new_IFSelect_ContextModif(*args))

    def AddCheck(self, *args):
        r"""

        Parameters
        ----------
        check: Interface_Check

        Return
        -------
        None

        Description
        -----------
        Adds a check to the checklist. if it is empty, nothing is done if it concerns an entity from the original model (by setentity) to which another check is attached, it is merged to it. else, it is added or merged as to globalcheck.

        """
        return _IFSelect.IFSelect_ContextModif_AddCheck(self, *args)

    def AddFail(self, *args):
        r"""

        Parameters
        ----------
        start: Standard_Transient
        mess: str
        orig: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a fail message for an entity from the original model if <start> is not an entity from the original model (e.g. the model itself) this message is added to global check.

        """
        return _IFSelect.IFSelect_ContextModif_AddFail(self, *args)

    def AddWarning(self, *args):
        r"""

        Parameters
        ----------
        start: Standard_Transient
        mess: str
        orig: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a warning message for an entity from the original model if <start> is not an entity from the original model (e.g. the model itself) this message is added to global check.

        """
        return _IFSelect.IFSelect_ContextModif_AddWarning(self, *args)

    def CCheck(self, *args):
        r"""

        Parameters
        ----------
        num: int (optional, default to 0)

        Return
        -------
        opencascade::handle<Interface_Check>

        Description
        -----------
        Returns a check given an entity number (in the original model) by default a global check. creates it the first time. it can then be acknowledged on the spot, in condition that the caller works by reference ('interface_check& check = ...').

        Parameters
        ----------
        start: Standard_Transient

        Return
        -------
        opencascade::handle<Interface_Check>

        Description
        -----------
        Returns a check attached to an entity from the original model it can then be acknowledged on the spot, in condition that the caller works by reference ('interface_check& check = ...').

        """
        return _IFSelect.IFSelect_ContextModif_CCheck(self, *args)

    def CheckList(self, *args):
        r"""
        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Returns the complete checklist.

        """
        return _IFSelect.IFSelect_ContextModif_CheckList(self, *args)

    def Control(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_CopyControl>

        Description
        -----------
        Returns the map for a direct use, if required.

        """
        return _IFSelect.IFSelect_ContextModif_Control(self, *args)

    def FileName(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns file name (can be empty).

        """
        return _IFSelect.IFSelect_ContextModif_FileName(self, *args)

    def HasFileName(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a non empty file name has been defined.

        """
        return _IFSelect.IFSelect_ContextModif_HasFileName(self, *args)

    def IsForAll(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if no filter is defined: a modifier has to work on all entities of the resulting (target) model.

        """
        return _IFSelect.IFSelect_ContextModif_IsForAll(self, *args)

    def IsForNone(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if select has determined that a modifier may not be run (filter defined and empty).

        """
        return _IFSelect.IFSelect_ContextModif_IsForNone(self, *args)

    def IsSelected(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Returns true if a starting item has been transferred and selected.

        """
        return _IFSelect.IFSelect_ContextModif_IsSelected(self, *args)

    def IsTransferred(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Returns true if a starting item has been transferred.

        """
        return _IFSelect.IFSelect_ContextModif_IsTransferred(self, *args)

    def More(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true until the iteration has finished.

        """
        return _IFSelect.IFSelect_ContextModif_More(self, *args)

    def Next(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Advances the iteration.

        """
        return _IFSelect.IFSelect_ContextModif_Next(self, *args)

    def OriginalGraph(self, *args):
        r"""
        Return
        -------
        Interface_Graph

        Description
        -----------
        Returns the original graph (compared to originalmodel, it gives more query capabilitites).

        """
        return _IFSelect.IFSelect_ContextModif_OriginalGraph(self, *args)

    def OriginalModel(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns the original model.

        """
        return _IFSelect.IFSelect_ContextModif_OriginalModel(self, *args)

    def Protocol(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_Protocol>

        Description
        -----------
        Returns the protocol (null if not set).

        """
        return _IFSelect.IFSelect_ContextModif_Protocol(self, *args)

    def Select(self, *args):
        r"""

        Parameters
        ----------
        list: Interface_EntityIterator

        Return
        -------
        None

        Description
        -----------
        This method requires contextmodif to be applied with a filter. if a modelmodifier is defined with a selection criterium, the result of this selection is used as a filter: - if none of its items has been transferred, the modification does not apply at all - else, the modifier can query for what entities were selected and what are their results - if this method is not called before working, the modifier has to work on the whole model.

        """
        return _IFSelect.IFSelect_ContextModif_Select(self, *args)

    def SelectedCount(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of selected and transferred items.

        """
        return _IFSelect.IFSelect_ContextModif_SelectedCount(self, *args)

    def SelectedOriginal(self, *args):
        r"""
        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of original selected items. see also the iteration.

        """
        return _IFSelect.IFSelect_ContextModif_SelectedOriginal(self, *args)

    def SelectedResult(self, *args):
        r"""
        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of resulting counterparts of selected items. see also the iteration.

        """
        return _IFSelect.IFSelect_ContextModif_SelectedResult(self, *args)

    def SetProtocol(self, *args):
        r"""

        Parameters
        ----------
        proto: Interface_Protocol

        Return
        -------
        None

        Description
        -----------
        Allows to transmit a protocol as part of a contextmodif.

        """
        return _IFSelect.IFSelect_ContextModif_SetProtocol(self, *args)

    def Start(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Starts an iteration on selected items. it takes into account isforall/isfornone, by really iterating on all selected items.

        """
        return _IFSelect.IFSelect_ContextModif_Start(self, *args)

    def Trace(self, *args):
        r"""

        Parameters
        ----------
        mess: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Traces the modification of the current entity (see above, valueoriginal and valueresult) for default trace level >= 2. to be called on each individual entity really modified <mess> is an optional additional message.

        """
        return _IFSelect.IFSelect_ContextModif_Trace(self, *args)

    def TraceModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_GeneralModifier

        Return
        -------
        None

        Description
        -----------
        Traces the application of a modifier. works with default trace file and level. fills the trace if default trace level is at least 1. traces the modifier (its label) and its selection if there is one (its label). to be called after select (because status isforall is printed) worths to trace a global modification. see also trace below.

        """
        return _IFSelect.IFSelect_ContextModif_TraceModifier(self, *args)

    def ValueOriginal(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the current selected item in the original model.

        """
        return _IFSelect.IFSelect_ContextModif_ValueOriginal(self, *args)

    def ValueResult(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the result counterpart of current selected item (in the target model).

        """
        return _IFSelect.IFSelect_ContextModif_ValueResult(self, *args)

    __repr__ = _dumps_object

    @methodnotwrapped
    def Search(self):
    	pass

    __swig_destroy__ = _IFSelect.delete_IFSelect_ContextModif

# Register IFSelect_ContextModif in _IFSelect:
_IFSelect.IFSelect_ContextModif_swigregister(IFSelect_ContextModif)
class IFSelect_ContextWrite(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel
        proto: Interface_Protocol
        applieds: IFSelect_AppliedModifiers
        filename: str

        Return
        -------
        None

        Description
        -----------
        Prepares a contextwrite with these information: - the model which is to be written - the protocol to be used - the filename - an object appliedmodifiers to work. it gives a list of filemodifiers to be ran, and for each one it can give a restricted list of entities (in the model), else all the model is considered.

        Parameters
        ----------
        hgraph: Interface_HGraph
        proto: Interface_Protocol
        applieds: IFSelect_AppliedModifiers
        filename: str

        Return
        -------
        None

        Description
        -----------
        Same as above but with an already computed graph.

        """
        _IFSelect.IFSelect_ContextWrite_swiginit(self, _IFSelect.new_IFSelect_ContextWrite(*args))

    def AddCheck(self, *args):
        r"""

        Parameters
        ----------
        check: Interface_Check

        Return
        -------
        None

        Description
        -----------
        Adds a check to the checklist. if it is empty, nothing is done if it concerns an entity from the model (by setentity) to which another check is attached, it is merged to it. else, it is added or merged as to globalcheck.

        """
        return _IFSelect.IFSelect_ContextWrite_AddCheck(self, *args)

    def AddFail(self, *args):
        r"""

        Parameters
        ----------
        start: Standard_Transient
        mess: str
        orig: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a fail message for an entity from the model if <start> is not an entity from the model (e.g. the model itself) this message is added to global check.

        """
        return _IFSelect.IFSelect_ContextWrite_AddFail(self, *args)

    def AddWarning(self, *args):
        r"""

        Parameters
        ----------
        start: Standard_Transient
        mess: str
        orig: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a warning message for an entity from the model if <start> is not an entity from the model (e.g. the model itself) this message is added to global check.

        """
        return _IFSelect.IFSelect_ContextWrite_AddWarning(self, *args)

    def AppliedModifiers(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_AppliedModifiers>

        Description
        -----------
        Returns the object appliedmodifiers.

        """
        return _IFSelect.IFSelect_ContextWrite_AppliedModifiers(self, *args)

    def CCheck(self, *args):
        r"""

        Parameters
        ----------
        num: int (optional, default to 0)

        Return
        -------
        opencascade::handle<Interface_Check>

        Description
        -----------
        Returns a check given an entity number (in the model) by default a global check. creates it the first time. it can then be acknowledged on the spot, in condition that the caller works by reference ('interface_check& check = ...').

        Parameters
        ----------
        start: Standard_Transient

        Return
        -------
        opencascade::handle<Interface_Check>

        Description
        -----------
        Returns a check attached to an entity from the model it can then be acknowledged on the spot, in condition that the caller works by reference ('interface_check& check = ...').

        """
        return _IFSelect.IFSelect_ContextWrite_CCheck(self, *args)

    def CheckList(self, *args):
        r"""
        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Returns the complete checklist.

        """
        return _IFSelect.IFSelect_ContextWrite_CheckList(self, *args)

    def FileModifier(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_GeneralModifier>

        Description
        -----------
        Returns the currently active file modifier. cast to be done null if not properly set: must be test isnull after casting.

        """
        return _IFSelect.IFSelect_ContextWrite_FileModifier(self, *args)

    def FileName(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the file name.

        """
        return _IFSelect.IFSelect_ContextWrite_FileName(self, *args)

    def Graph(self, *args):
        r"""
        Return
        -------
        Interface_Graph

        Description
        -----------
        Returns the graph, either given when created, else created the first time it is queried.

        """
        return _IFSelect.IFSelect_ContextWrite_Graph(self, *args)

    def IsForAll(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if the current modifier is to be applied to the whole model. else, a restricted list of selected entities is defined, it can be exploited by the file modifier.

        """
        return _IFSelect.IFSelect_ContextWrite_IsForAll(self, *args)

    def IsForNone(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if no modifier is currently set.

        """
        return _IFSelect.IFSelect_ContextWrite_IsForNone(self, *args)

    def Model(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns the model.

        """
        return _IFSelect.IFSelect_ContextWrite_Model(self, *args)

    def More(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true until the iteration has finished.

        """
        return _IFSelect.IFSelect_ContextWrite_More(self, *args)

    def NbEntities(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the total count of selected entities.

        """
        return _IFSelect.IFSelect_ContextWrite_NbEntities(self, *args)

    def NbModifiers(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of recorded file modifiers.

        """
        return _IFSelect.IFSelect_ContextWrite_NbModifiers(self, *args)

    def Next(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Advances the iteration.

        """
        return _IFSelect.IFSelect_ContextWrite_Next(self, *args)

    def Protocol(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_Protocol>

        Description
        -----------
        Returns the protocol;.

        """
        return _IFSelect.IFSelect_ContextWrite_Protocol(self, *args)

    def SetModifier(self, *args):
        r"""

        Parameters
        ----------
        numod: int

        Return
        -------
        bool

        Description
        -----------
        Sets active the file modifier n0 <numod> then, it prepares the list of entities to consider, if any returns false if <numod> out of range.

        """
        return _IFSelect.IFSelect_ContextWrite_SetModifier(self, *args)

    def Start(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Starts an iteration on selected items. it takes into account isforall/isfornone, by really iterating on all selected items.

        """
        return _IFSelect.IFSelect_ContextWrite_Start(self, *args)

    def Value(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the current selected entity in the model.

        """
        return _IFSelect.IFSelect_ContextWrite_Value(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ContextWrite

# Register IFSelect_ContextWrite in _IFSelect:
_IFSelect.IFSelect_ContextWrite_swigregister(IFSelect_ContextWrite)
class IFSelect_Dispatch(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def CanHaveRemainder(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a dispatch can have a remainder, i.e. if its criterium can let entities apart. it is a potential answer, remainder can be empty at run-time even if answer is true. (to attach a remainderfromdispatch selection is not allowed if answer is true). default answer given here is false (can be redefined).

        """
        return _IFSelect.IFSelect_Dispatch_CanHaveRemainder(self, *args)

    def FinalSelection(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the final selection of a dispatch we 'd like: c++: return const &.

        """
        return _IFSelect.IFSelect_Dispatch_FinalSelection(self, *args)

    def GetEntities(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Gets unique root entities from the final selection, given an input graph this the starting step for an evaluation (packets - remainder).

        """
        return _IFSelect.IFSelect_Dispatch_GetEntities(self, *args)

    def HasRootName(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a specific root name has been set (else, the default root name has to be used).

        """
        return _IFSelect.IFSelect_Dispatch_HasRootName(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a text which defines the way a dispatch produces packets (which will become files) from its input.

        """
        return _IFSelect.IFSelect_Dispatch_Label(self, *args)

    def LimitedMax(self, *args):
        r"""

        Parameters
        ----------
        nbent: int

        Return
        -------
        max: int

        Description
        -----------
        Returns true if a dispatch generates a count of packets always less than or equal to a maximum value: it can be computed from the total count of entities to be dispatched: <nbent>. if answer is false, no limited maximum is expected for account if answer is true, expected maximum is given in argument <max> default answer given here is false (can be redefined).

        """
        return _IFSelect.IFSelect_Dispatch_LimitedMax(self, *args)

    def Packeted(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of all input entities (see getentities) which are put in a packet. that is, entities listed in getentities but not in remainder (see below). input is given as a graph.

        """
        return _IFSelect.IFSelect_Dispatch_Packeted(self, *args)

    def Packets(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        packs: IFGraph_SubPartsIterator

        Return
        -------
        None

        Description
        -----------
        Returns the list of produced packets into argument <pack>. each packet corresponds to a part, the entities listed are the roots given by the selection. input is given as a graph. thus, to create a file from a packet, it suffices to take the entities listed in a part of packets (that is, a packet) without worrying about shared entities this method can raise an exception if data are not coherent.

        """
        return _IFSelect.IFSelect_Dispatch_Packets(self, *args)

    def Remainder(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns remainder which is a set of entities. can be empty. default evaluation is empty (has to be redefined if canhaveremainder is redefined to return true).

        """
        return _IFSelect.IFSelect_Dispatch_Remainder(self, *args)

    def RootName(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the root name for files produced by this dispatch it is empty if it has not been set or if it has been reset.

        """
        return _IFSelect.IFSelect_Dispatch_RootName(self, *args)

    def Selections(self, *args):
        r"""
        Return
        -------
        IFSelect_SelectionIterator

        Description
        -----------
        Returns the complete list of source selections (starting from finalselection).

        """
        return _IFSelect.IFSelect_Dispatch_Selections(self, *args)

    def SetFinalSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Stores (or changes) the final selection for a dispatch.

        """
        return _IFSelect.IFSelect_Dispatch_SetFinalSelection(self, *args)

    def SetRootName(self, *args):
        r"""

        Parameters
        ----------
        name: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Sets a root name as an hasciistring to reset it, give a null handle (then, a shareout will have to define the default root name).

        """
        return _IFSelect.IFSelect_Dispatch_SetRootName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Dispatch_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Dispatch

# Register IFSelect_Dispatch in _IFSelect:
_IFSelect.IFSelect_Dispatch_swigregister(IFSelect_Dispatch)
class IFSelect_EditForm(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        editor: IFSelect_Editor
        readonly: bool
        undoable: bool
        label: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates a complete editform from an editor a specific label can be given.

        Parameters
        ----------
        editor: IFSelect_Editor
        nums: TColStd_SequenceOfInteger
        readonly: bool
        undoable: bool
        label: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates an extracted editform from an editor, limited to the values identified in <nums> a specific label can be given.

        """
        _IFSelect.IFSelect_EditForm_swiginit(self, _IFSelect.new_IFSelect_EditForm(*args))

    def Apply(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Applies modifications to own data calls applydata then clears status according editkeepstatus.

        """
        return _IFSelect.IFSelect_EditForm_Apply(self, *args)

    def ApplyData(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Applies modifications to data default uses editor. can be redefined.

        """
        return _IFSelect.IFSelect_EditForm_ApplyData(self, *args)

    def ClearData(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_ClearData(self, *args)

    def ClearEdit(self, *args):
        r"""

        Parameters
        ----------
        num: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Clears modification status: by default all, or one by its numbers (in the editor).

        """
        return _IFSelect.IFSelect_EditForm_ClearEdit(self, *args)

    def GetEditKeepStatus(self):
        r"""GetEditKeepStatus(IFSelect_EditForm self) -> Standard_Boolean"""
        return _IFSelect.IFSelect_EditForm_GetEditKeepStatus(self)

    def SetEditKeepStatus(self, value):
        r"""SetEditKeepStatus(IFSelect_EditForm self, Standard_Boolean value)"""
        return _IFSelect.IFSelect_EditForm_SetEditKeepStatus(self, value)

    def EditedList(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the edited value as a list if ismodified is false, returns originalvalue null with ismodified true: means that this value is not defined or has been removed for a single parameter, gives a null handle.

        """
        return _IFSelect.IFSelect_EditForm_EditedList(self, *args)

    def EditedValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the edited (i.e. modified) value (string for single) <num> reports to the editform if ismodified is false, returns originalvalue null with ismodified true: means that this value is not defined or has been removed it is for a single parameter. for a list, gives a null handle.

        """
        return _IFSelect.IFSelect_EditForm_EditedValue(self, *args)

    def Editor(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Editor>

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_Editor(self, *args)

    def Entity(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_Entity(self, *args)

    def IsComplete(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if an editform is complete or is an extract from editor.

        """
        return _IFSelect.IFSelect_EditForm_IsComplete(self, *args)

    def IsLoaded(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if the editform is loaded now.

        """
        return _IFSelect.IFSelect_EditForm_IsLoaded(self, *args)

    def IsModified(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a value (of the editform) is modified (directly or through touching by update).

        """
        return _IFSelect.IFSelect_EditForm_IsModified(self, *args)

    def IsTouched(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a value (of the editform) has been touched, i.e. not modified directly but by the modification of another one (by method update from the editor).

        """
        return _IFSelect.IFSelect_EditForm_IsTouched(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_Label(self, *args)

    def ListEditor(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_ListEditor>

        Description
        -----------
        Returns a listeditor to edit the parameter <num> of the editform, if it is a list the editor created it (by listeditor) then loads it (by listvalue) for a single parameter, returns a null handle ...

        """
        return _IFSelect.IFSelect_EditForm_ListEditor(self, *args)

    def LoadData(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Loads modifications to data default uses editor. can be redefined remark that <ent> and/or <model> may be null, according to the kind of editor. shortcuts are available for these cases, but they finally call loaddata (hence, just ignore non-used args).
        Return
        -------
        bool

        Description
        -----------
        Shortcut when both <ent> and <model> are not used (when the editor works on fully static or global data).

        """
        return _IFSelect.IFSelect_EditForm_LoadData(self, *args)

    def LoadDefault(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        For a read-write undoable editform, loads original values from defaults stored in the editor.

        """
        return _IFSelect.IFSelect_EditForm_LoadDefault(self, *args)

    def LoadEntity(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Shortcut for loaddata when <model> is not used.

        """
        return _IFSelect.IFSelect_EditForm_LoadEntity(self, *args)

    def LoadList(self, *args):
        r"""

        Parameters
        ----------
        num: int
        list: TColStd_HSequenceOfHAsciiString

        Return
        -------
        None

        Description
        -----------
        Loads an original value as a list. called by the editor only.

        """
        return _IFSelect.IFSelect_EditForm_LoadList(self, *args)

    def LoadModel(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Shortcut for loaddata when only the model is concerned.

        """
        return _IFSelect.IFSelect_EditForm_LoadModel(self, *args)

    def LoadValue(self, *args):
        r"""

        Parameters
        ----------
        num: int
        val: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Loads an original value (single). called by the editor only.

        """
        return _IFSelect.IFSelect_EditForm_LoadValue(self, *args)

    def Model(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_Model(self, *args)

    def Modify(self, *args):
        r"""

        Parameters
        ----------
        num: int
        newval: TCollection_HAsciiString
        enforce: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Gives a new value for the item <num> of the editform, if it is a single parameter (for a list, just returns false) null means to remove it <enforce> true to overpass protected or computed access mode calls the method update from the editor, which can touch other parameters (see nbtouched) returns true if well recorded, false if this value is not allowed warning: does not apply immediately: will be applied by the method apply.

        """
        return _IFSelect.IFSelect_EditForm_Modify(self, *args)

    def ModifyList(self, *args):
        r"""

        Parameters
        ----------
        num: int
        edited: IFSelect_ListEditor
        enforce: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Changes the value of an item of the editform, if it is a list (else, just returns false) the listeditor contains the edited values of the list if no edition was recorded, just returns false calls the method update from the editor, which can touch other parameters (see nbtouched) returns true if well recorded, false if this value is not allowed warning: does not apply immediately: will be applied by the method apply.

        """
        return _IFSelect.IFSelect_EditForm_ModifyList(self, *args)

    def ModifyListValue(self, *args):
        r"""

        Parameters
        ----------
        num: int
        list: TColStd_HSequenceOfHAsciiString
        enforce: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        As modifylist but the new value is given as such creates a listeditor, loads it, then calls modifylist.

        """
        return _IFSelect.IFSelect_EditForm_ModifyListValue(self, *args)

    def NameNumber(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        int

        Description
        -----------
        Returns the value number in the editor for a given name i.e. the true valuenumber which can be used in various methods of editform if it is not complete, for a recorded (in the editor) but non-loaded name, returns negative value (- number).

        """
        return _IFSelect.IFSelect_EditForm_NameNumber(self, *args)

    def NameRank(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        int

        Description
        -----------
        Returns the rank of value in the editform for a given name i.e. if it is not complete, for a recorded (in the editor) but non-loaded name, returns 0.

        """
        return _IFSelect.IFSelect_EditForm_NameRank(self, *args)

    def NbValues(self, *args):
        r"""

        Parameters
        ----------
        editable: bool

        Return
        -------
        int

        Description
        -----------
        Returns the count of values <editable> true: count of editable values, i.e. for a complete editform, it is given by the editor else, it is the length of the extraction map <editable> false: all the values from the editor.

        """
        return _IFSelect.IFSelect_EditForm_NbValues(self, *args)

    def NumberFromRank(self, *args):
        r"""

        Parameters
        ----------
        rank: int

        Return
        -------
        int

        Description
        -----------
        Returns the value number in the editor from a given rank in the editform for a complete editform, both are equal else, it is given by the extraction map returns 0 if <rank> exceeds the count of editable values,.

        """
        return _IFSelect.IFSelect_EditForm_NumberFromRank(self, *args)

    def OriginalList(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns an original value, as a list <num> is for the editform, not the editor for a single parameter, gives a null handle.

        """
        return _IFSelect.IFSelect_EditForm_OriginalList(self, *args)

    def OriginalValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        From an edited value, returns its ... value (original one) null means that this value is not defined <num> is for the editform, not the editor it is for a single parameter. for a list, gives a null handle.

        """
        return _IFSelect.IFSelect_EditForm_OriginalValue(self, *args)

    def PrintDefsToString(self):
        r"""PrintDefsToString(IFSelect_EditForm self) -> std::string"""
        return _IFSelect.IFSelect_EditForm_PrintDefsToString(self)

    def RankFromNumber(self, *args):
        r"""

        Parameters
        ----------
        number: int

        Return
        -------
        int

        Description
        -----------
        Returns the rank in the editform from a given number of value for the editor for a complete editform, both are equal else, it is given by the extraction map returns 0 if <number> is not forecast to be edited, or is out of range.

        """
        return _IFSelect.IFSelect_EditForm_RankFromNumber(self, *args)

    def Recognize(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if this editform can work with its editor and its actual data (entity and model) default uses editor. can be redefined.

        """
        return _IFSelect.IFSelect_EditForm_Recognize(self, *args)

    def SetData(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_SetData(self, *args)

    def SetEntity(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_SetEntity(self, *args)

    def SetModel(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_EditForm_SetModel(self, *args)

    def Touch(self, *args):
        r"""

        Parameters
        ----------
        num: int
        newval: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Gives a new value computed by the editor, if another parameter commands the value of <num> it is generally the case for a computed parameter for instance increments the counter of touched parameters warning: it gives no protection for readonly etc... while it is the internal way of touching parameters does not work (returns false) if <num> is for a list.

        """
        return _IFSelect.IFSelect_EditForm_Touch(self, *args)

    def TouchList(self, *args):
        r"""

        Parameters
        ----------
        num: int
        newlist: TColStd_HSequenceOfHAsciiString

        Return
        -------
        bool

        Description
        -----------
        Acts as touch but for a list does not work (returns false) if <num> is for a single param.

        """
        return _IFSelect.IFSelect_EditForm_TouchList(self, *args)

    def Undo(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        For an undoable editform, applies ... origibal values ! and clears modified ones can be run only once.

        """
        return _IFSelect.IFSelect_EditForm_Undo(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_EditForm_DownCast(t)


    __repr__ = _dumps_object

    @methodnotwrapped
    def NbTouched(self):
    	pass

    __swig_destroy__ = _IFSelect.delete_IFSelect_EditForm

# Register IFSelect_EditForm in _IFSelect:
_IFSelect.IFSelect_EditForm_swigregister(IFSelect_EditForm)
class IFSelect_Editor(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Apply(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Applies modified values of the editform with some data remark: <ent> may be null, this means all <model> is concerned also <model> may be null, if no context applies for <ent> and both <ent> and <model> may be null, for a full static editor.

        """
        return _IFSelect.IFSelect_Editor_Apply(self, *args)

    def EditMode(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        IFSelect_EditValue

        Description
        -----------
        Returns the edit mode of a value.

        """
        return _IFSelect.IFSelect_Editor_EditMode(self, *args)

    def Form(self, *args):
        r"""

        Parameters
        ----------
        readonly: bool
        undoable: bool (optional, default to Standard_True)

        Return
        -------
        opencascade::handle<IFSelect_EditForm>

        Description
        -----------
        Builds and returns an editform, empty (no data yet) can be redefined to return a specific type of editform.

        """
        return _IFSelect.IFSelect_Editor_Form(self, *args)

    def IsList(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a parameter is a list.

        """
        return _IFSelect.IFSelect_Editor_IsList(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the specific label.

        """
        return _IFSelect.IFSelect_Editor_Label(self, *args)

    def ListEditor(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_ListEditor>

        Description
        -----------
        Returns a listeditor for a parameter which is a list default returns a basic listeditor for a list, a null handle if <num> is not for a list. can be redefined.

        """
        return _IFSelect.IFSelect_Editor_ListEditor(self, *args)

    def ListValue(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        num: int

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the value of an editform as a list, for a given item if not a list, a null handle should be returned default returns a null handle, because many editors have no list to edit. to be redefined as required.

        """
        return _IFSelect.IFSelect_Editor_ListValue(self, *args)

    def Load(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Loads original values from some data, to an editform remark: <ent> may be null, this means all <model> is concerned also <model> may be null, if no context applies for <ent> and both <ent> and <model> may be null, for a full static editor.

        """
        return _IFSelect.IFSelect_Editor_Load(self, *args)

    def MaxList(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        int

        Description
        -----------
        Returns max length allowed for a list = 0 means: list with no limit < 0 means: not a list.

        """
        return _IFSelect.IFSelect_Editor_MaxList(self, *args)

    def MaxNameLength(self, *args):
        r"""

        Parameters
        ----------
        what: int

        Return
        -------
        int

        Description
        -----------
        Returns the maxlength of, according to what: <what> = -1: length of short names <what> = 0: length of complete names <what> = 1: length of values labels.

        """
        return _IFSelect.IFSelect_Editor_MaxNameLength(self, *args)

    def Name(self, *args):
        r"""

        Parameters
        ----------
        num: int
        isshort: bool (optional, default to Standard_False)

        Return
        -------
        str

        Description
        -----------
        Returns the name of a value (complete or short) from its ident short name can be empty.

        """
        return _IFSelect.IFSelect_Editor_Name(self, *args)

    def NameNumber(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        int

        Description
        -----------
        Returns the number (ident) of a value, from its name, short or complete. if not found, returns 0.

        """
        return _IFSelect.IFSelect_Editor_NameNumber(self, *args)

    def NbValues(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of typed values.

        """
        return _IFSelect.IFSelect_Editor_NbValues(self, *args)

    def PrintNamesToString(self):
        r"""PrintNamesToString(IFSelect_Editor self) -> std::string"""
        return _IFSelect.IFSelect_Editor_PrintNamesToString(self)

    def Recognize(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm

        Return
        -------
        bool

        Description
        -----------
        Tells if this editor can work on this editform and its content (model, entity ?).

        """
        return _IFSelect.IFSelect_Editor_Recognize(self, *args)

    def SetList(self, *args):
        r"""

        Parameters
        ----------
        num: int
        max: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Sets a parameter to be a list max < 0: not for a list (set when starting) max = 0: list with no length limit (default for setlist) max > 0: list limited to <max> items.

        """
        return _IFSelect.IFSelect_Editor_SetList(self, *args)

    def SetValue(self, *args):
        r"""

        Parameters
        ----------
        num: int
        typval: Interface_TypedValue
        shortname: str (optional, default to )
        accessmode: IFSelect_EditValue (optional, default to IFSelect_Editable)

        Return
        -------
        None

        Description
        -----------
        Sets a typed value for a given ident and short name, with an edit mode.

        """
        return _IFSelect.IFSelect_Editor_SetValue(self, *args)

    def StringValue(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        num: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the value of an editform, for a given item (if not a list. for a list, a null string may be returned).

        """
        return _IFSelect.IFSelect_Editor_StringValue(self, *args)

    def TypedValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Interface_TypedValue>

        Description
        -----------
        Returns a typed value from its ident.

        """
        return _IFSelect.IFSelect_Editor_TypedValue(self, *args)

    def Update(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        num: int
        newval: TCollection_HAsciiString
        enforce: bool

        Return
        -------
        bool

        Description
        -----------
        Updates the editform when a parameter is modified i.e. default does nothing, can be redefined, as follows: returns true when done (even if does nothing), false in case of refuse (for instance, if the new value is not suitable) <num> is the rank of the parameter for the editor itself <enforce> true means that protected parameters can be touched //! if a parameter commands the value of other ones, when it is modified, it is necessary to touch them by touch from editform.

        """
        return _IFSelect.IFSelect_Editor_Update(self, *args)

    def UpdateList(self, *args):
        r"""

        Parameters
        ----------
        form: IFSelect_EditForm
        num: int
        newlist: TColStd_HSequenceOfHAsciiString
        enforce: bool

        Return
        -------
        bool

        Description
        -----------
        Acts as update, but when the value is a list.

        """
        return _IFSelect.IFSelect_Editor_UpdateList(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Editor_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Editor

# Register IFSelect_Editor in _IFSelect:
_IFSelect.IFSelect_Editor_swigregister(IFSelect_Editor)
class IFSelect_Functions(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    @staticmethod
    def GiveDispatch(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        name: str
        mode: bool (optional, default to Standard_True)

        Return
        -------
        opencascade::handle<IFSelect_Dispatch>

        Description
        -----------
        Evaluates and returns a dispatch, from data of a worksession if <mode> is false, searches for exact name of dispatch in ws else (d), allows a parameter between brackets: ex.: dispatch_name(parameter) the parameter can be: an integer for disppercount or dispperfiles or the name of a signature for disppersignature returns null handle if not found not well evaluated.

        """
        return _IFSelect.IFSelect_Functions_GiveDispatch(*args)

    @staticmethod
    def GiveEntity(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        name: str (optional, default to )

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Takes the name of an entity, either as argument, or (if <name> is empty) on keyboard, and returns the entity name can be a label or a number (in alphanumeric), it is searched by numberfromlabel from worksession. if <name> doesn't match en entity, a null handle is returned.

        """
        return _IFSelect.IFSelect_Functions_GiveEntity(*args)

    @staticmethod
    def GiveEntityNumber(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        name: str (optional, default to )

        Return
        -------
        int

        Description
        -----------
        Same as getentity, but returns the number in the model of the entity. returns 0 for null handle.

        """
        return _IFSelect.IFSelect_Functions_GiveEntityNumber(*args)

    @staticmethod
    def GiveList(*args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession
        first: str (optional, default to )
        second: str (optional, default to )

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Computes a list of entities from a worksession and two idents, first and second, as follows: if <first> is a number or label of an entity: this entity if <first> is the name of a selection in <ws>, and <second> not defined, the standard result of this selection if <first> is for a selection and <second> is defined, the standard result of this selection from the list computed with <second> (an entity or a selection) if <second> is erroneous, it is ignored.

        """
        return _IFSelect.IFSelect_Functions_GiveList(*args)

    @staticmethod
    def Init(*args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Defines and loads all basic functions (as actfunc).

        """
        return _IFSelect.IFSelect_Functions_Init(*args)

    __repr__ = _dumps_object


    def __init__(self):
        _IFSelect.IFSelect_Functions_swiginit(self, _IFSelect.new_IFSelect_Functions())
    __swig_destroy__ = _IFSelect.delete_IFSelect_Functions

# Register IFSelect_Functions in _IFSelect:
_IFSelect.IFSelect_Functions_swigregister(IFSelect_Functions)
class IFSelect_GeneralModifier(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Applies(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        bool

        Description
        -----------
        Returns true if a model obtained from the dispatch <disp> is to be treated (apart from the selection criterium) if dispatch(me) is null, returns true. else, checks <disp>.

        """
        return _IFSelect.IFSelect_GeneralModifier_Applies(self, *args)

    def Dispatch(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Dispatch>

        Description
        -----------
        Returns the dispatch to be matched, null if not set.

        """
        return _IFSelect.IFSelect_GeneralModifier_Dispatch(self, *args)

    def HasSelection(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a selection is set as an additional criterium.

        """
        return _IFSelect.IFSelect_GeneralModifier_HasSelection(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a short text which defines the operation performed.

        """
        return _IFSelect.IFSelect_GeneralModifier_Label(self, *args)

    def MayChangeGraph(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if this modifier may change the graph of dependences (aknowledged at creation time).

        """
        return _IFSelect.IFSelect_GeneralModifier_MayChangeGraph(self, *args)

    def ResetSelection(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Resets the selection: this criterium is not longer active.

        """
        return _IFSelect.IFSelect_GeneralModifier_ResetSelection(self, *args)

    def Selection(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the selection, or a null handle if not set.

        """
        return _IFSelect.IFSelect_GeneralModifier_Selection(self, *args)

    def SetDispatch(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        None

        Description
        -----------
        Attaches to a dispatch. if <disp> is null, resets it (to apply the modifier on every dispatch).

        """
        return _IFSelect.IFSelect_GeneralModifier_SetDispatch(self, *args)

    def SetSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Sets a selection: a model is treated if it contains one or more entities designated by the selection.

        """
        return _IFSelect.IFSelect_GeneralModifier_SetSelection(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_GeneralModifier_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_GeneralModifier

# Register IFSelect_GeneralModifier in _IFSelect:
_IFSelect.IFSelect_GeneralModifier_swigregister(IFSelect_GeneralModifier)
class IFSelect_IntParam(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an intparam. initial value is set to zer.

        """
        _IFSelect.IFSelect_IntParam_swiginit(self, _IFSelect.new_IFSelect_IntParam(*args))

    def SetStaticName(self, *args):
        r"""

        Parameters
        ----------
        statname: str

        Return
        -------
        None

        Description
        -----------
        Commands this intparam to be bound to a static hence, value will return the value if this static if it is set else, value works on the locally stored value setvalue also will set the value of the static this works only for a present static of type integer or enum else, it is ignored //! if <statname> is empty, disconnects the intparam from static.

        """
        return _IFSelect.IFSelect_IntParam_SetStaticName(self, *args)

    def SetValue(self, *args):
        r"""

        Parameters
        ----------
        val: int

        Return
        -------
        None

        Description
        -----------
        Sets a new integer value for the intparam. if a staticname is defined and the static is set, also sets the value of the static.

        """
        return _IFSelect.IFSelect_IntParam_SetValue(self, *args)

    def Value(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Reads integer value of the intparam. if a staticname is defined and the static is set, looks in priority the value of the static.

        """
        return _IFSelect.IFSelect_IntParam_Value(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_IntParam_DownCast(t)


    __repr__ = _dumps_object

    @methodnotwrapped
    def StaticName(self):
    	pass

    __swig_destroy__ = _IFSelect.delete_IFSelect_IntParam

# Register IFSelect_IntParam in _IFSelect:
_IFSelect.IFSelect_IntParam_swigregister(IFSelect_IntParam)
class IFSelect_ListEditor(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a listeditor with absolutely no constraint.

        Parameters
        ----------
        def: Interface_TypedValue
        max: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Creates a listeditor, for which items of the list to edit are defined by <def>, and <max> describes max length: 0 (d) means no limit value > 0 means: no more the <max> items are allowed.

        """
        _IFSelect.IFSelect_ListEditor_swiginit(self, _IFSelect.new_IFSelect_ListEditor(*args))

    def AddValue(self, *args):
        r"""

        Parameters
        ----------
        val: TCollection_HAsciiString
        atnum: int (optional, default to 0)

        Return
        -------
        bool

        Description
        -----------
        Adds a new item. by default appends (at the end of the list) can insert before a given rank <num>, if positive returns true when done. false if maxlength may be overpassed or if <val> does not satisfy the definition.

        """
        return _IFSelect.IFSelect_ListEditor_AddValue(self, *args)

    def ClearEdit(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears all editions already recorded.

        """
        return _IFSelect.IFSelect_ListEditor_ClearEdit(self, *args)

    def EditedValues(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the result of the edition.

        """
        return _IFSelect.IFSelect_ListEditor_EditedValues(self, *args)

    def IsAdded(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a value (in edited list) has been added (new one).

        """
        return _IFSelect.IFSelect_ListEditor_IsAdded(self, *args)

    def IsChanged(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a value (in edited list) has been changed, i.e. either modified-value, or added.

        """
        return _IFSelect.IFSelect_ListEditor_IsChanged(self, *args)

    def IsModified(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Tells if a value (in edited list) has been modified-value (not added).

        """
        return _IFSelect.IFSelect_ListEditor_IsModified(self, *args)

    def IsTouched(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if at least one edition (setvalue-addvalue-remove) has been recorded.

        """
        return _IFSelect.IFSelect_ListEditor_IsTouched(self, *args)

    def LoadEdited(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfHAsciiString

        Return
        -------
        bool

        Description
        -----------
        Loads a new list to replace the older one, in once ! by default (can be redefined) checks the length of the list and the value of each item according to the def items are all recorded as modified //! if no def has been given at creation time, no check is done returns true when done, false if checks have failed ... a specialisation may also lock it by returning always false ...

        """
        return _IFSelect.IFSelect_ListEditor_LoadEdited(self, *args)

    def LoadModel(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Loads a model. it is used to check items of type entity(ident).

        """
        return _IFSelect.IFSelect_ListEditor_LoadModel(self, *args)

    def LoadValues(self, *args):
        r"""

        Parameters
        ----------
        vals: TColStd_HSequenceOfHAsciiString

        Return
        -------
        None

        Description
        -----------
        Loads the original values for the list. remark: if its length is more then maxlength, editions remain allowed, except add.

        """
        return _IFSelect.IFSelect_ListEditor_LoadValues(self, *args)

    def NbValues(self, *args):
        r"""

        Parameters
        ----------
        edited: bool (optional, default to Standard_True)

        Return
        -------
        int

        Description
        -----------
        Returns count of values, edited (d) or original.

        """
        return _IFSelect.IFSelect_ListEditor_NbValues(self, *args)

    def OriginalValues(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the value from which the edition started.

        """
        return _IFSelect.IFSelect_ListEditor_OriginalValues(self, *args)

    def Remove(self, *args):
        r"""

        Parameters
        ----------
        num: int (optional, default to 0)
        howmany: int (optional, default to 1)

        Return
        -------
        bool

        Description
        -----------
        Removes items from the list by default removes one item. else, count given by <howmany> remove from rank <num> included. by default, from the end returns true when done, false (and does not work) if case of out of range of if <howmany> is greater than current length.

        """
        return _IFSelect.IFSelect_ListEditor_Remove(self, *args)

    def SetTouched(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Declares this listeditor to have been touched (whatever action).

        """
        return _IFSelect.IFSelect_ListEditor_SetTouched(self, *args)

    def SetValue(self, *args):
        r"""

        Parameters
        ----------
        num: int
        val: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Sets a new value for the item <num> (in edited list) <val> may be a null handle, then the value will be cleared but not removed returns true when done. false if <num> is out of range or if <val> does not satisfy the definition.

        """
        return _IFSelect.IFSelect_ListEditor_SetValue(self, *args)

    def Value(self, *args):
        r"""

        Parameters
        ----------
        num: int
        edited: bool (optional, default to Standard_True)

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns a value given its rank. edited (d) or original a null string means the value is cleared but not removed.

        """
        return _IFSelect.IFSelect_ListEditor_Value(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ListEditor_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ListEditor

# Register IFSelect_ListEditor in _IFSelect:
_IFSelect.IFSelect_ListEditor_swigregister(IFSelect_ListEditor)
class IFSelect_ModelCopier(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty modelcopier.

        """
        _IFSelect.IFSelect_ModelCopier_swiginit(self, _IFSelect.new_IFSelect_ModelCopier(*args))

    def AddFile(self, *args):
        r"""

        Parameters
        ----------
        filename: str
        content: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Records a new file to be sent, as a couple (name as asciistring, content as interfacemodel) returns true if done, false if <filename> is already attached to another file.

        """
        return _IFSelect.IFSelect_ModelCopier_AddFile(self, *args)

    def AddSentFile(self, *args):
        r"""

        Parameters
        ----------
        filename: str

        Return
        -------
        None

        Description
        -----------
        Adds the name of a just sent file, if beginsentfiles has commanded recording; else does nothing it is called by methods sendcopied sending.

        """
        return _IFSelect.IFSelect_ModelCopier_AddSentFile(self, *args)

    def AppliedModifiers(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_AppliedModifiers>

        Description
        -----------
        Returns the list of file modifiers to be applied on a file when it will be sent, as computed by copiedmodel: if it is a null handle, no file modifier has to be applied.

        """
        return _IFSelect.IFSelect_ModelCopier_AppliedModifiers(self, *args)

    def BeginSentFiles(self, *args):
        r"""

        Parameters
        ----------
        sho: IFSelect_ShareOut
        record: bool

        Return
        -------
        None

        Description
        -----------
        Begins a sequence of recording the really sent files <sho>: the default file numbering is cleared if <record> is false, clears the list and stops recording if <record> is true, clears the list and commands recording creation time corresponds to 'stop recording'.

        """
        return _IFSelect.IFSelect_ModelCopier_BeginSentFiles(self, *args)

    def ClearAppliedModifiers(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Clears the list of file modifiers to be applied on a file.

        """
        return _IFSelect.IFSelect_ModelCopier_ClearAppliedModifiers(self, *args)

    def ClearFile(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Clears the name attached to a file which was formerly defined by a call to addfile. this clearing can be undone by a call to namefile (with same <num>) returns true if done, false else: if <num> is out of range.

        """
        return _IFSelect.IFSelect_ModelCopier_ClearFile(self, *args)

    def ClearResult(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears the list of produced models.

        """
        return _IFSelect.IFSelect_ModelCopier_ClearResult(self, *args)

    def CopiedRemaining(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        WL: IFSelect_WorkLibrary
        TC: Interface_CopyTool
        newmod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Produces a model copied from the remaining list as <newmod> <newmod> is a null handle if this list is empty <wl> performs the copy by using <tc> <tc> is assumed to have been defined with the starting model same as defined by <g>.

        """
        return _IFSelect.IFSelect_ModelCopier_CopiedRemaining(self, *args)

    def Copy(self, *args):
        r"""

        Parameters
        ----------
        eval: IFSelect_ShareOutResult
        WL: IFSelect_WorkLibrary
        protocol: Interface_Protocol

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Performs the copy operations, which include the modifications defined by the list of modifiers. memorizes the result, as a list of interfacemodels with the corresponding filenames they can then be sent, by the method send, or queried copy calls internal method copying. returns the produced checklist.

        """
        return _IFSelect.IFSelect_ModelCopier_Copy(self, *args)

    def FileModel(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns the content of a file before sending, under the form of an interfacemodel, given its rank.

        """
        return _IFSelect.IFSelect_ModelCopier_FileModel(self, *args)

    def FileName(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the file name for a file given its rank it is empty after a call to clearfile on same <num>.

        """
        return _IFSelect.IFSelect_ModelCopier_FileName(self, *args)

    def NameFile(self, *args):
        r"""

        Parameters
        ----------
        num: int
        filename: str

        Return
        -------
        bool

        Description
        -----------
        Changes the name attached to a file which was formerly defined by a call to addfile returns true if done, false else: if <num> out of range or if the new <filename> is already attached to another file remark: giving an empty file name is equivalent to clearfile.

        """
        return _IFSelect.IFSelect_ModelCopier_NameFile(self, *args)

    def NbFiles(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of files produced, i.e. the count of models memorized (produced by the mmethod copy) with their file names.

        """
        return _IFSelect.IFSelect_ModelCopier_NbFiles(self, *args)

    def Send(self, *args):
        r"""

        Parameters
        ----------
        eval: IFSelect_ShareOutResult
        WL: IFSelect_WorkLibrary
        protocol: Interface_Protocol

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Performs the copy operations (which include the modifications) and sends the result on files, without memorizing it. (the memorized result is ignored: neither queried not filled).

        """
        return _IFSelect.IFSelect_ModelCopier_Send(self, *args)

    def SendAll(self, *args):
        r"""

        Parameters
        ----------
        filename: str
        G: Interface_Graph
        WL: IFSelect_WorkLibrary
        protocol: Interface_Protocol

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Sends a model (defined in <g>) into one file, without managing remaining data, already sent files, etc. applies the model and file modifiers. returns true if well done, false else.

        """
        return _IFSelect.IFSelect_ModelCopier_SendAll(self, *args)

    def SendCopied(self, *args):
        r"""

        Parameters
        ----------
        WL: IFSelect_WorkLibrary
        protocol: Interface_Protocol

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Sends the formerly defined results (see method copy) to files, then clears it remark: a null file name cause file to be not produced.

        """
        return _IFSelect.IFSelect_ModelCopier_SendCopied(self, *args)

    def SendSelected(self, *args):
        r"""

        Parameters
        ----------
        filename: str
        G: Interface_Graph
        WL: IFSelect_WorkLibrary
        protocol: Interface_Protocol
        iter: Interface_EntityIterator

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Sends a part of a model into one file. model is gotten from <g>, the part is defined in <iter>. remaining data are managed and can be later be worked on. returns true if well done, false else.

        """
        return _IFSelect.IFSelect_ModelCopier_SendSelected(self, *args)

    def SentFiles(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the list of recorded names of sent files. can be empty (if no file has been sent). returns a null handle if beginsentfiles has stopped recording.

        """
        return _IFSelect.IFSelect_ModelCopier_SentFiles(self, *args)

    def SetAppliedModifiers(self, *args):
        r"""

        Parameters
        ----------
        num: int
        applied: IFSelect_AppliedModifiers

        Return
        -------
        bool

        Description
        -----------
        Sets a list of file modifiers to be applied on a file.

        """
        return _IFSelect.IFSelect_ModelCopier_SetAppliedModifiers(self, *args)

    def SetRemaining(self, *args):
        r"""

        Parameters
        ----------
        CG: Interface_Graph

        Return
        -------
        bool

        Description
        -----------
        Updates graph status for remaining data, for each entity: - entities just sent to file or copied (by copiedremaining) have their status set to 1 - the other keep their former status (1 for send/copied, 0 for remaining) these status are computed by copying/sending/copiedremaining then, setremaining updates graph status, and mustr be called just after one of these method has been called returns true if done, false if remaining info if not in phase which the graph (not same counts of items).

        """
        return _IFSelect.IFSelect_ModelCopier_SetRemaining(self, *args)

    def SetShareOut(self, *args):
        r"""

        Parameters
        ----------
        sho: IFSelect_ShareOut

        Return
        -------
        None

        Description
        -----------
        Sets the shareout, which is used to define modifiers to apply.

        """
        return _IFSelect.IFSelect_ModelCopier_SetShareOut(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ModelCopier_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ModelCopier

# Register IFSelect_ModelCopier in _IFSelect:
_IFSelect.IFSelect_ModelCopier_swigregister(IFSelect_ModelCopier)
class IFSelect_PacketList(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Creates a packlist, empty, ready to receive entities from a given model.

        """
        _IFSelect.IFSelect_PacketList_swiginit(self, _IFSelect.new_IFSelect_PacketList(*args))

    def Add(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        Adds an entity from the model into the current packet for add.

        """
        return _IFSelect.IFSelect_PacketList_Add(self, *args)

    def AddList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient

        Return
        -------
        None

        Description
        -----------
        Adds an list of entities into the current packet for add.

        """
        return _IFSelect.IFSelect_PacketList_AddList(self, *args)

    def AddPacket(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Declares a new packet, ready to be filled the entities to be added will be added to this packet.

        """
        return _IFSelect.IFSelect_PacketList_AddPacket(self, *args)

    def Duplicated(self, *args):
        r"""

        Parameters
        ----------
        count: int
        andmore: bool

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns a list of entities duplicated: <count> times, if <andmore> is false, or <count> or more times, if <andmore> is true hence, count=2 & andmore=true gives all duplicated entities count=1 gives non-duplicated entities (in only one packet) count=0 gives remaining entities (in no packet at all).

        """
        return _IFSelect.IFSelect_PacketList_Duplicated(self, *args)

    def Entities(self, *args):
        r"""

        Parameters
        ----------
        numpack: int

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the content of a packet given its rank null handle if <numpack> is out of range.

        """
        return _IFSelect.IFSelect_PacketList_Entities(self, *args)

    def HighestDuplicationCount(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the highest number of packets which know a same entity for no duplication, should be one.

        """
        return _IFSelect.IFSelect_PacketList_HighestDuplicationCount(self, *args)

    def Model(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns the model of reference.

        """
        return _IFSelect.IFSelect_PacketList_Model(self, *args)

    def Name(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the recorded name for a packet list.

        """
        return _IFSelect.IFSelect_PacketList_Name(self, *args)

    def NbDuplicated(self, *args):
        r"""

        Parameters
        ----------
        count: int
        andmore: bool

        Return
        -------
        int

        Description
        -----------
        Returns the count of entities duplicated: <count> times, if <andmore> is false, or <count> or more times, if <andmore> is true see duplicated for more details.

        """
        return _IFSelect.IFSelect_PacketList_NbDuplicated(self, *args)

    def NbEntities(self, *args):
        r"""

        Parameters
        ----------
        numpack: int

        Return
        -------
        int

        Description
        -----------
        Returns the count of entities in a packet given its rank, or 0.

        """
        return _IFSelect.IFSelect_PacketList_NbEntities(self, *args)

    def NbPackets(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of non-empty packets.

        """
        return _IFSelect.IFSelect_PacketList_NbPackets(self, *args)

    def SetName(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        None

        Description
        -----------
        Sets a name to a packet list: this makes easier a general routine to print it. default is 'packets'.

        """
        return _IFSelect.IFSelect_PacketList_SetName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_PacketList_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_PacketList

# Register IFSelect_PacketList in _IFSelect:
_IFSelect.IFSelect_PacketList_swigregister(IFSelect_PacketList)
class IFSelect_Selection(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def CompleteResult(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of entities involved by a selection, i.e. uniqueresult plus the shared entities (directly or not).

        """
        return _IFSelect.IFSelect_Selection_CompleteResult(self, *args)

    def FillIterator(self, *args):
        r"""

        Parameters
        ----------
        iter: IFSelect_SelectionIterator

        Return
        -------
        None

        Description
        -----------
        Puts in an iterator the selections from which 'me' depends (there can be zero, or one, or a list). specific to each class of selection.

        """
        return _IFSelect.IFSelect_Selection_FillIterator(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a text which defines the criterium applied by a selection (can be used to be printed, displayed ...) specific to each class.

        """
        return _IFSelect.IFSelect_Selection_Label(self, *args)

    def RootResult(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of selected entities, computed from input given as a graph. specific to each class of selection note that uniqueness of each entity is not required here this method can raise an exception as necessary.

        """
        return _IFSelect.IFSelect_Selection_RootResult(self, *args)

    def UniqueResult(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of selected entities, each of them being unique. default definition works from rootresult. according hasuniqueresult, uniqueresult returns directly rootresult, or build a unique result from it with a graph.

        """
        return _IFSelect.IFSelect_Selection_UniqueResult(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Selection_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Selection

# Register IFSelect_Selection in _IFSelect:
_IFSelect.IFSelect_Selection_swigregister(IFSelect_Selection)
class IFSelect_SelectionIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty iterator, ready to be filled.

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Creates an iterator from a selection: it lists the selections from which <sel> depends (given by its method filliterator).

        """
        _IFSelect.IFSelect_SelectionIterator_swiginit(self, _IFSelect.new_IFSelect_SelectionIterator(*args))

    def AddFromIter(self, *args):
        r"""

        Parameters
        ----------
        iter: IFSelect_SelectionIterator

        Return
        -------
        None

        Description
        -----------
        Adds to an iterator the content of another one (each selection is present only once in the result).

        """
        return _IFSelect.IFSelect_SelectionIterator_AddFromIter(self, *args)

    def AddItem(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Adds a selection to an iterator (if not yet noted).

        """
        return _IFSelect.IFSelect_SelectionIterator_AddItem(self, *args)

    def AddList(self, *args):
        r"""

        Parameters
        ----------
        list: IFSelect_TSeqOfSelection

        Return
        -------
        None

        Description
        -----------
        Adds a list of selections to an iterator (this list comes from the description of a selection or a dispatch, etc...).

        """
        return _IFSelect.IFSelect_SelectionIterator_AddList(self, *args)

    def More(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if there are more selections to get.

        """
        return _IFSelect.IFSelect_SelectionIterator_More(self, *args)

    def Next(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Sets iterator to the next item.

        """
        return _IFSelect.IFSelect_SelectionIterator_Next(self, *args)

    def Value(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the current selection being iterated error if count of selection has been passed.

        """
        return _IFSelect.IFSelect_SelectionIterator_Value(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectionIterator

# Register IFSelect_SelectionIterator in _IFSelect:
_IFSelect.IFSelect_SelectionIterator_swigregister(IFSelect_SelectionIterator)
class IFSelect_SessionDumper(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def First(*args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SessionDumper>

        Description
        -----------
        Returns the first item of the library of dumper. the next ones are then obtained by next on the returned items.

        """
        return _IFSelect.IFSelect_SessionDumper_First(*args)

    def Next(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SessionDumper>

        Description
        -----------
        Returns the next sesiondumper in the library. returns a null handle at the end.

        """
        return _IFSelect.IFSelect_SessionDumper_Next(self, *args)

    def ReadOwn(self, *args):
        r"""

        Parameters
        ----------
        file: IFSelect_SessionFile
        type: str
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Recognizes a type (given as <type>) then creates an item of this type with the own parameter, as required. returns true if it has recognized the type (in this case, it is assumed to have created the item, returned as <item>), false else: in that case, sessionfile will try another sessiondumper in the library. readown can use these methods from sessionfile to access own parameters: nbownparams, isvoid, istext, textvalue, itemvalue.

        """
        return _IFSelect.IFSelect_SessionDumper_ReadOwn(self, *args)

    def WriteOwn(self, *args):
        r"""

        Parameters
        ----------
        file: IFSelect_SessionFile
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Writes the own parameters of a given item, if it forecast to manage its type. returns true if it has recognized the type of the item (in this case, it is assumed to have written the own parameters if there are some), false else: in that case, sessionfile will try another sessiondumper in the library. writeown can use these methods from sessionfile: sendvoid, senditem, sendtext, and if necessary, worksession.

        """
        return _IFSelect.IFSelect_SessionDumper_WriteOwn(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SessionDumper_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SessionDumper

# Register IFSelect_SessionDumper in _IFSelect:
_IFSelect.IFSelect_SessionDumper_swigregister(IFSelect_SessionDumper)
class IFSelect_SessionFile(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession

        Return
        -------
        None

        Description
        -----------
        Creates a sessionfile, ready to read files in order to load them into a given worksession. the following read operations must then be called. it is also possible to perform a write, which produces a complete file of all the content of the worksession.

        Parameters
        ----------
        WS: IFSelect_WorkSession
        filename: str

        Return
        -------
        None

        Description
        -----------
        Creates a sessionfile which writes the content of a worksession to a file (directly calls write) then, isdone aknowledges on the result of the operation. but such a sessionfile may not read a file to a worksession.

        """
        _IFSelect.IFSelect_SessionFile_swiginit(self, _IFSelect.new_IFSelect_SessionFile(*args))

    def AddItem(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient
        active: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Adds an item to the worksession, taken as name the first item of the read line. if this name is not a name but a number or if this name is already recorded in the worksession, it adds the item but with no name. then the name is recorded in order to be used by the method itemvalue <active> commands to make <item> active or not in the session.

        """
        return _IFSelect.IFSelect_SessionFile_AddItem(self, *args)

    def AddLine(self, *args):
        r"""

        Parameters
        ----------
        line: str

        Return
        -------
        None

        Description
        -----------
        Adds a line to the list of recorded lines.

        """
        return _IFSelect.IFSelect_SessionFile_AddLine(self, *args)

    def ClearLines(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears the lines recorded whatever for writing or for reading.

        """
        return _IFSelect.IFSelect_SessionFile_ClearLines(self, *args)

    def Destroy(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Specific destructor (closes the file if not yet done).

        """
        return _IFSelect.IFSelect_SessionFile_Destroy(self, *args)

    def IsDone(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if the last read or write operation has been correctly performed. else returns false.

        """
        return _IFSelect.IFSelect_SessionFile_IsDone(self, *args)

    def IsText(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Returns true if a parameter, in the own list (see nbownparams) is a text (between '...'). else it is an item (parameter, selection, dispatch ...), which can be void.

        """
        return _IFSelect.IFSelect_SessionFile_IsText(self, *args)

    def IsVoid(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Returns true if a parameter, given its rank in the own list (see nbownparams), is void. returns also true if <num> is out of range (undefined parameters).

        """
        return _IFSelect.IFSelect_SessionFile_IsVoid(self, *args)

    def ItemValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns a parameter as an item. returns a null handle if the parameter is a text, or if it is defined as void.

        """
        return _IFSelect.IFSelect_SessionFile_ItemValue(self, *args)

    def Line(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a line given its rank in the list of recorded lines.

        """
        return _IFSelect.IFSelect_SessionFile_Line(self, *args)

    def NbLines(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of recorded lines.

        """
        return _IFSelect.IFSelect_SessionFile_NbLines(self, *args)

    def NbParams(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        During a read operation, sessionfile processes sequentially the items to read. for each one, it gives access to the list of its parameters: they were defined by calls to sendvoid/sendparam/sendtext during writing the file. nbparams returns the count of parameters for the line currently read.

        """
        return _IFSelect.IFSelect_SessionFile_NbParams(self, *args)

    def NewItem(self, *args):
        r"""

        Parameters
        ----------
        ident: int
        par: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        At beginning of writing an item, writes its basics: - either its name in the session if it has one - or its relative number of item in the file, else (preceded by a '_') - then, its dynamic type (in the sense of cdl: pk_class) this basic description can be followed by the parameters which are used in the definition of the item.

        """
        return _IFSelect.IFSelect_SessionFile_NewItem(self, *args)

    def ParamValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a parameter (alphanumeric item of a line) as it has been read.

        """
        return _IFSelect.IFSelect_SessionFile_ParamValue(self, *args)

    def Read(self, *args):
        r"""

        Parameters
        ----------
        filename: str

        Return
        -------
        int

        Description
        -----------
        Performs a read operation from a file to a worksession i.e. calls readfile, then readsession and readend returned value is: 0 for ok, -1 file could not be opened, >0 error during read (see writesession) isdone can be called too (will return true for ok).

        """
        return _IFSelect.IFSelect_SessionFile_Read(self, *args)

    def ReadEnd(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Reads the end of a file (its last line). returns 0 if ok, status >0 in case of error (not a suitable end line).

        """
        return _IFSelect.IFSelect_SessionFile_ReadEnd(self, *args)

    def ReadFile(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        bool

        Description
        -----------
        Reads the recorded lines from a file named <name>, after having cleared the list (stops if recognizefile fails) returns false (with no clearing) if the file could not be read.

        """
        return _IFSelect.IFSelect_SessionFile_ReadFile(self, *args)

    def ReadLine(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Reads a line and splits it into a set of alphanumeric items, which can then be queried by nbparams/paramvalue ...

        """
        return _IFSelect.IFSelect_SessionFile_ReadLine(self, *args)

    def ReadOwn(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Tries to read an item, by calling the library of dumpers sets the list of parameters of the line to be read from the first own one.

        """
        return _IFSelect.IFSelect_SessionFile_ReadOwn(self, *args)

    def ReadSession(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Performs a read operation from a file to a worksession, i.e. reads the list of line (which must have already been loaded, by readfile or by calls to addline) important remark: this excludes the reading of the last line, which is performed by readend returns 0 for ok, >0 status for read error (not a suitable file, or worksession given as immutable at creation time) isdone can be called too (will return true for ok).

        """
        return _IFSelect.IFSelect_SessionFile_ReadSession(self, *args)

    def RecognizeFile(self, *args):
        r"""

        Parameters
        ----------
        headerline: str

        Return
        -------
        bool

        Description
        -----------
        Recognizes the header line. returns true if ok, false else.

        """
        return _IFSelect.IFSelect_SessionFile_RecognizeFile(self, *args)

    def RemoveLastLine(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes the last line. can be called recursively. does nothing if the list is empty.

        """
        return _IFSelect.IFSelect_SessionFile_RemoveLastLine(self, *args)

    def SendItem(self, *args):
        r"""

        Parameters
        ----------
        par: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        During a write action, commands to send the identification of a parameter: if it is null (undefined) it is send as void ($) if it is named in the worksession, its name is sent preceded by ':', else a relative ident number is sent preceded by '#' (relative to the present write, i.e. starting at one, without skip, and counted part from named items).

        """
        return _IFSelect.IFSelect_SessionFile_SendItem(self, *args)

    def SendText(self, *args):
        r"""

        Parameters
        ----------
        text: str

        Return
        -------
        None

        Description
        -----------
        During a write action, commands to send a text without interpretation. it will be sent as well.

        """
        return _IFSelect.IFSelect_SessionFile_SendText(self, *args)

    def SendVoid(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        During a write action, commands to send a void parameter i.e. a parameter which is present but undefined its form will be the dollar sign: $.

        """
        return _IFSelect.IFSelect_SessionFile_SendVoid(self, *args)

    def SetLastGeneral(self, *args):
        r"""

        Parameters
        ----------
        lastgen: int

        Return
        -------
        None

        Description
        -----------
        Sets the rank of last general parameter to a new value. it is followed by the fist own parameter of the item. used by sessionfile after reading general parameters.

        """
        return _IFSelect.IFSelect_SessionFile_SetLastGeneral(self, *args)

    def SetOwn(self, *args):
        r"""

        Parameters
        ----------
        mode: bool

        Return
        -------
        None

        Description
        -----------
        Sets parameters to be sent as own if <mode> is true (their name or number or void mark or text value is preceded by a column sign ':') else they are sent normally hence, the own parameter are clearly identified in the file.

        """
        return _IFSelect.IFSelect_SessionFile_SetOwn(self, *args)

    def SplitLine(self, *args):
        r"""

        Parameters
        ----------
        line: str

        Return
        -------
        None

        Description
        -----------
        Internal routine which processes a line into words and prepares its exploration.

        """
        return _IFSelect.IFSelect_SessionFile_SplitLine(self, *args)

    def TextValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the content of a text parameter (without the quotes). returns an empty string if the parameter is not a text.

        """
        return _IFSelect.IFSelect_SessionFile_TextValue(self, *args)

    def WorkSession(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_WorkSession>

        Description
        -----------
        Returns the worksession on which a sessionfile works. remark that it is returned as immutable.

        """
        return _IFSelect.IFSelect_SessionFile_WorkSession(self, *args)

    def Write(self, *args):
        r"""

        Parameters
        ----------
        filename: str

        Return
        -------
        int

        Description
        -----------
        Performs a write operation from a worksession to a file i.e. calls writesession then writeend, and writefile returned value is: 0 for ok, -1 file could not be created, >0 error during write (see writesession) isdone can be called too (will return true for ok).

        """
        return _IFSelect.IFSelect_SessionFile_Write(self, *args)

    def WriteEnd(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Writes the trailing line. it is separate from writesession, in order to allow to redefine writesession without touching writeend (writesession defines the body of the file) writeend fills the list of lines. returns a status of error, 0 if ok, >0 else.

        """
        return _IFSelect.IFSelect_SessionFile_WriteEnd(self, *args)

    def WriteFile(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        bool

        Description
        -----------
        Writes the recorded lines to a file named <name> then clears the list of lines. returns false (with no clearing) if the file could not be created.

        """
        return _IFSelect.IFSelect_SessionFile_WriteFile(self, *args)

    def WriteLine(self, *args):
        r"""

        Parameters
        ----------
        line: str
        follow: Standard_Character (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Writes a line to the file. if <follow> is given, it is added at the following of the line. a newline must be added for the end.

        """
        return _IFSelect.IFSelect_SessionFile_WriteLine(self, *args)

    def WriteOwn(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Writes the parameters own to each type of item. uses the library of sessiondumpers returns true if done, false if <item> could not be treated (hence it remains written with no own parameter).

        """
        return _IFSelect.IFSelect_SessionFile_WriteOwn(self, *args)

    def WriteSession(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Prepares the write operation from a worksession (ifselect) to a file, i.e. fills the list of lines (the file itself remains to be written; or nblines/line may be called) important remark: this excludes the reading of the last line, which is performed by writeend returns 0 if ok, status > 0 in case of error.

        """
        return _IFSelect.IFSelect_SessionFile_WriteSession(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SessionFile

# Register IFSelect_SessionFile in _IFSelect:
_IFSelect.IFSelect_SessionFile_swigregister(IFSelect_SessionFile)
class IFSelect_ShareOut(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty shareout.

        """
        _IFSelect.IFSelect_ShareOut_swiginit(self, _IFSelect.new_IFSelect_ShareOut(*args))

    def AddDispatch(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        None

        Description
        -----------
        Adds a dispatch to the list.

        """
        return _IFSelect.IFSelect_ShareOut_AddDispatch(self, *args)

    def AddModif(self, *args):
        r"""

        Parameters
        ----------
        modifier: IFSelect_GeneralModifier
        formodel: bool
        atnum: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Adds a modifier to the list of modifiers: model modifiers if <formodel> is true, file modifiers else (internal).

        """
        return _IFSelect.IFSelect_ShareOut_AddModif(self, *args)

    def AddModifier(self, *args):
        r"""

        Parameters
        ----------
        modifier: IFSelect_GeneralModifier
        atnum: int

        Return
        -------
        None

        Description
        -----------
        Sets a modifier to be applied on all dispatches to be run if <modifier> is a modelmodifier, adds it to the list of model modifiers; else to the list of file modifiers by default (atnum = 0) at the end of the list, else at <atnum> each modifier is used, after each copy of a packet of entities into a model: its criteria are checked and if they are ok, the method perform of this modifier is run.

        Parameters
        ----------
        modifier: IFSelect_GeneralModifier
        dispnum: int
        atnum: int

        Return
        -------
        None

        Description
        -----------
        Sets a modifier to be applied on the dispatch <dispnum> if <modifier> is a modelmodifier, adds it to the list of model modifiers; else to the list of file modifiers this is the same list as for all dispatches, but the modifier is qualified to be applied to one dispatch only then, <atnum> refers to the entire list by default (atnum = 0) at the end of the list, else at <atnum> remark: if the modifier was already in the list and if <atnum> = 0, the modifier is not moved, but only qualified for a dispatch.

        """
        return _IFSelect.IFSelect_ShareOut_AddModifier(self, *args)

    def ChangeModifierRank(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool
        befor: int
        after: int

        Return
        -------
        bool

        Description
        -----------
        Changes the rank of a modifier in the list: model modifiers if <formodel> is true, file modifiers else from <before> to <after> returns true if done, false else (before or after out of range).

        """
        return _IFSelect.IFSelect_ShareOut_ChangeModifierRank(self, *args)

    def Clear(self, *args):
        r"""

        Parameters
        ----------
        onlydisp: bool

        Return
        -------
        None

        Description
        -----------
        Removes in one operation all the dispatches with their idents also clears all information about names, and all results but naming information which are: - kept if <onlydisp> is true. - cleared if <onlydisp> is false (complete clearing) if <onlydisp> is true, that's all. else, clears also modifiers.

        """
        return _IFSelect.IFSelect_ShareOut_Clear(self, *args)

    def ClearResult(self, *args):
        r"""

        Parameters
        ----------
        alsoname: bool

        Return
        -------
        None

        Description
        -----------
        Clears all data produced (apart from dispatches, etc...) if <alsoname> is true, all is cleared. else, information about produced names are kept (to maintain unicity of naming across clearings).

        """
        return _IFSelect.IFSelect_ShareOut_ClearResult(self, *args)

    def DefaultRootName(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the default root name. can be empty.

        """
        return _IFSelect.IFSelect_ShareOut_DefaultRootName(self, *args)

    def Dispatch(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_Dispatch>

        Description
        -----------
        Returns a dispatch, given its rank in the list.

        """
        return _IFSelect.IFSelect_ShareOut_Dispatch(self, *args)

    def DispatchRank(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        int

        Description
        -----------
        Returns the rank of a dispatch, given its value (handle). returns 0 if the dispatch is unknown in the shareout.

        """
        return _IFSelect.IFSelect_ShareOut_DispatchRank(self, *args)

    def Extension(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the general extension. can be empty (not recommended).

        """
        return _IFSelect.IFSelect_ShareOut_Extension(self, *args)

    def FileName(self, *args):
        r"""

        Parameters
        ----------
        dnum: int
        pnum: int
        nbpack: int (optional, default to 0)

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Computes the complete file name for a packet of a dispatch, given dispatch number (rank), packet number, and count of packets generated by this dispatch (0 if unknown) //! file name is made of following strings, concatenated: general prefix, root name for dispatch, packet suffix, and general extension. if no root name is specified for a dispatch, defaultrootname is considered (and pnum is not used, but <thenbdefs> is incremented and used error if no root is defined for this <idnum>.

        """
        return _IFSelect.IFSelect_ShareOut_FileName(self, *args)

    def GeneralModifier(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool
        num: int

        Return
        -------
        opencascade::handle<IFSelect_GeneralModifier>

        Description
        -----------
        Returns a modifier of the list, given its rank: model modifiers if <formodel> is true, file modifiers else.

        """
        return _IFSelect.IFSelect_ShareOut_GeneralModifier(self, *args)

    def HasRootName(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Returns true if the dispatch of rank <num> has an attached root name. false else, or if num is out of range.

        """
        return _IFSelect.IFSelect_ShareOut_HasRootName(self, *args)

    def LastRun(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the rank of last run item (clearresult resets it to 0).

        """
        return _IFSelect.IFSelect_ShareOut_LastRun(self, *args)

    def ModelModifier(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_Modifier>

        Description
        -----------
        Returns a modifier of the list of model modifiers, duely casted.

        """
        return _IFSelect.IFSelect_ShareOut_ModelModifier(self, *args)

    def ModifierRank(self, *args):
        r"""

        Parameters
        ----------
        modifier: IFSelect_GeneralModifier

        Return
        -------
        int

        Description
        -----------
        Gives the rank of a modifier in the list, 0 if not in the list model modifiers if <modifier> is kind of modelmodifer, file modifiers else.

        """
        return _IFSelect.IFSelect_ShareOut_ModifierRank(self, *args)

    def NbDispatches(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of dispatches.

        """
        return _IFSelect.IFSelect_ShareOut_NbDispatches(self, *args)

    def NbModifiers(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool

        Return
        -------
        int

        Description
        -----------
        Returns count of modifiers (which apply to complete models): model modifiers if <formodel> is true, file modifiers else.

        """
        return _IFSelect.IFSelect_ShareOut_NbModifiers(self, *args)

    def Prefix(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the general prefix. can be empty.

        """
        return _IFSelect.IFSelect_ShareOut_Prefix(self, *args)

    def RemoveDispatch(self, *args):
        r"""

        Parameters
        ----------
        rank: int

        Return
        -------
        bool

        Description
        -----------
        Removes a dispatch, given its rank in the list returns true if done, false if rank is not between (lastrun + 1) and (nbdispatches).

        """
        return _IFSelect.IFSelect_ShareOut_RemoveDispatch(self, *args)

    def RemoveItem(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Removes an item, which can be, either a dispatch (removed from the list of dispatches), or a generalmodifier (removed from the list of model modifiers or from the list of file modifiers according to its type). returns true if done, false if has not been found or if it is neither a dispatch, nor a modifier.

        """
        return _IFSelect.IFSelect_ShareOut_RemoveItem(self, *args)

    def RemoveModifier(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool
        num: int

        Return
        -------
        bool

        Description
        -----------
        Removes a modifier, given it rank in the list: model modifiers if <formodel> is true, file modifiers else returns true if done, false if <num> is out of range.

        """
        return _IFSelect.IFSelect_ShareOut_RemoveModifier(self, *args)

    def RootName(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the root bound to a dispatch, given its rank returns a null handle if not defined.

        """
        return _IFSelect.IFSelect_ShareOut_RootName(self, *args)

    def RootNumber(self, *args):
        r"""

        Parameters
        ----------
        name: TCollection_HAsciiString

        Return
        -------
        int

        Description
        -----------
        Returns an integer value about a given root name: - positive: it's the rank of the dispatch which has this name - null: this root name is unknown - negative (-1): this root name is the default root name.

        """
        return _IFSelect.IFSelect_ShareOut_RootNumber(self, *args)

    def SetDefaultRootName(self, *args):
        r"""

        Parameters
        ----------
        defrt: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Defines or changes the default root name to a new value (which is used for dispatches which have no attached root name). if this method is not called, defaultrootname remains empty returns true if ok, false if this name is already attached, for a dispatch or for default.

        """
        return _IFSelect.IFSelect_ShareOut_SetDefaultRootName(self, *args)

    def SetExtension(self, *args):
        r"""

        Parameters
        ----------
        ext: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Defines or changes the general extension (which is appended to complete file name generated). if this method is not call, extension remains empty.

        """
        return _IFSelect.IFSelect_ShareOut_SetExtension(self, *args)

    def SetLastRun(self, *args):
        r"""

        Parameters
        ----------
        last: int

        Return
        -------
        None

        Description
        -----------
        Records a new value for the rank of last run item.

        """
        return _IFSelect.IFSelect_ShareOut_SetLastRun(self, *args)

    def SetPrefix(self, *args):
        r"""

        Parameters
        ----------
        pref: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Defines or changes the general prefix (which is prepended to complete file name generated). if this method is not call, prefix remains empty.

        """
        return _IFSelect.IFSelect_ShareOut_SetPrefix(self, *args)

    def SetRootName(self, *args):
        r"""

        Parameters
        ----------
        num: int
        name: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Attaches a root name to a dispatch given its rank, as an hasciistring (standard form). a null handle resets this name. returns true if ok, false if this name is already attached, for a dispatch or for default, or <num> out of range.

        """
        return _IFSelect.IFSelect_ShareOut_SetRootName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ShareOut_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ShareOut

# Register IFSelect_ShareOut in _IFSelect:
_IFSelect.IFSelect_ShareOut_swigregister(IFSelect_ShareOut)
class IFSelect_ShareOutResult(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        sho: IFSelect_ShareOut
        mod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Creates a shareoutresult from a shareout, to work on a model (without any more precision; uses active protocol).

        Parameters
        ----------
        sho: IFSelect_ShareOut
        G: Interface_Graph

        Return
        -------
        None

        Description
        -----------
        Creates a shareoutresult from a shareout, to work on a graph already computed, which defines the input model and can specialize some entities.

        Parameters
        ----------
        disp: IFSelect_Dispatch
        mod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Creates a shareoutresult from a unique dispatch, to work on a model. as if it was a shareout with only one dispatch (without any more precision; uses active protocol) allows to compute the effect of a single dispatch.

        Parameters
        ----------
        disp: IFSelect_Dispatch
        G: Interface_Graph

        Return
        -------
        None

        Description
        -----------
        Creates a shareoutresult from a unique dispatch, to work on a graph. as if it was a shareout with only one dispatch allows to compute the effect of a single dispatch.

        """
        _IFSelect.IFSelect_ShareOutResult_swiginit(self, _IFSelect.new_IFSelect_ShareOutResult(*args))

    def Dispatch(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Dispatch>

        Description
        -----------
        Returns the current dispatch.

        """
        return _IFSelect.IFSelect_ShareOutResult_Dispatch(self, *args)

    def DispatchRank(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the rank of the current dispatch in the shareout returns zero if there is none (iteration finished).

        """
        return _IFSelect.IFSelect_ShareOutResult_DispatchRank(self, *args)

    def Evaluate(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Evaluates the result of a shareout: determines entities to be forgotten by the shareout, entities to be transferred several times (duplicated), prepares an iteration on the packets to be produced called the first time anyone question is asked, or after a call to reset. works by calling the method prepare.

        """
        return _IFSelect.IFSelect_ShareOutResult_Evaluate(self, *args)

    def FileName(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the file name which corresponds to current packet (computed by shareout) if current packet has no associated name (see shareout), the returned value is null.

        """
        return _IFSelect.IFSelect_ShareOutResult_FileName(self, *args)

    def Graph(self, *args):
        r"""
        Return
        -------
        Interface_Graph

        Description
        -----------
        Returns the graph used to create theshareoutresult.

        """
        return _IFSelect.IFSelect_ShareOutResult_Graph(self, *args)

    def More(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if there is more packets in the current dispatch, else if there is more dispatch in the shareout.

        """
        return _IFSelect.IFSelect_ShareOutResult_More(self, *args)

    def NbPackets(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the total count of produced non empty packets (in out: calls evaluate as necessary).

        """
        return _IFSelect.IFSelect_ShareOutResult_NbPackets(self, *args)

    def Next(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Passes to the next packet in the current dispatch, or if there is none, to the next dispatch in the shareout.

        """
        return _IFSelect.IFSelect_ShareOutResult_Next(self, *args)

    def NextDispatch(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Passes to the next dispatch, regardless about remaining packets.

        """
        return _IFSelect.IFSelect_ShareOutResult_NextDispatch(self, *args)

    def PacketContent(self, *args):
        r"""
        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the complete content of the current packet (i.e. with shared entities, which will also be put in the file).

        """
        return _IFSelect.IFSelect_ShareOutResult_PacketContent(self, *args)

    def PacketRoot(self, *args):
        r"""
        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of roots of the current packet (never empty) (i.e. the entities to be themselves asked for transfer) error if there is none (iteration finished).

        """
        return _IFSelect.IFSelect_ShareOutResult_PacketRoot(self, *args)

    def Packets(self, *args):
        r"""

        Parameters
        ----------
        complete: bool (optional, default to Standard_True)

        Return
        -------
        opencascade::handle<IFSelect_PacketList>

        Description
        -----------
        Returns the list of recorded packets, under two modes: - <complete> = false, the strict definition of packets, i.e. for each one, the root entities, to be explicitly sent - <complete> = true (default), the completely evaluated list, i.e. which really gives the destination of each entity: this mode allows to evaluate duplications remark that to send packets, iteration remains preferable (file names are managed).

        """
        return _IFSelect.IFSelect_ShareOutResult_Packets(self, *args)

    def PacketsInDispatch(self, *args):
        r"""

        Parameters
        ----------

        Return
        -------
        numpack: int
        nbpacks: int

        Description
        -----------
        Returns number (rank) of current packet in current dispatch, and total count of packets in current dispatch, as arguments.

        """
        return _IFSelect.IFSelect_ShareOutResult_PacketsInDispatch(self, *args)

    def Prepare(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Prepares the iteration on the packets this method is called by evaluate, but can be called anytime the iteration consists in taking each dispatch of the shareout beginning by the first one, compute its packets, then iterate on these packets. once all these packets are iterated, the iteration passes to the next dispatch, or stops. for a creation from a unique dispatch, same but with only this dispatch. each packet can be listed, or really transferred (producing a derived model, from which a file can be generated) //! prepare sets the iteration to the first dispatch, first packet.

        """
        return _IFSelect.IFSelect_ShareOutResult_Prepare(self, *args)

    def Reset(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Erases computed data, in order to command a new evaluation.

        """
        return _IFSelect.IFSelect_ShareOutResult_Reset(self, *args)

    def ShareOut(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_ShareOut>

        Description
        -----------
        Returns the shareout used to create the shareoutresult if creation from a dispatch, returns a null handle.

        """
        return _IFSelect.IFSelect_ShareOutResult_ShareOut(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ShareOutResult

# Register IFSelect_ShareOutResult in _IFSelect:
_IFSelect.IFSelect_ShareOutResult_swigregister(IFSelect_ShareOutResult)
class IFSelect_Signature(OCC.Core.Interface.Interface_SignType):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def AddCase(self, *args):
        r"""

        Parameters
        ----------
        acase: str

        Return
        -------
        None

        Description
        -----------
        Adds a possible case to be called when creating, if the list of possible cases for value is known when starting for instance, for cdl types, rather do not fill this, but for a specific enumeration (such as a status), can be used.

        """
        return _IFSelect.IFSelect_Signature_AddCase(self, *args)

    def CaseList(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfAsciiString>

        Description
        -----------
        Returns the predefined list of possible cases, filled by addcase null handle if no predefined list (hence, to be counted) useful to filter on really possible vase, for instance, or for a help.

        """
        return _IFSelect.IFSelect_Signature_CaseList(self, *args)

    @staticmethod
    def IntValue(*args):
        r"""

        Parameters
        ----------
        val: int

        Return
        -------
        str

        Description
        -----------
        This procedure converts an integer to a cstring it is a convenient way when the value of a signature has the form of a simple integer value the value is to be used immediately (one buffer only, no copy).

        """
        return _IFSelect.IFSelect_Signature_IntValue(*args)

    def IsIntCase(self, *args):
        r"""

        Parameters
        ----------

        Return
        -------
        hasmin: bool
        valmin: int
        hasmax: bool
        valmax: int

        Description
        -----------
        Tells if this signature gives integer values and returns values from setintcase if true.

        """
        return _IFSelect.IFSelect_Signature_IsIntCase(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        The label of a signature uses its name as follow: 'signature: <name>'.

        """
        return _IFSelect.IFSelect_Signature_Label(self, *args)

    @staticmethod
    def MatchValue(*args):
        r"""

        Parameters
        ----------
        val: str
        text: str
        exact: bool

        Return
        -------
        bool

        Description
        -----------
        Default procedure to tell if a value <val> matches a text with a criterium <exact>. <exact> = true requires equality, else only contained (no reg-exp).

        """
        return _IFSelect.IFSelect_Signature_MatchValue(*args)

    def Matches(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel
        text: str
        exact: bool

        Return
        -------
        bool

        Description
        -----------
        Tells if the value for <ent> in <model> matches a text, with a criterium <exact>. the default definition calls matchvalue can be redefined.

        """
        return _IFSelect.IFSelect_Signature_Matches(self, *args)

    def SetIntCase(self, *args):
        r"""

        Parameters
        ----------
        hasmin: bool
        valmin: int
        hasmax: bool
        valmax: int

        Return
        -------
        None

        Description
        -----------
        Sets the information data to tell 'integer cases' with possible min and max values to be called when creating.

        """
        return _IFSelect.IFSelect_Signature_SetIntCase(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Signature_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Signature

# Register IFSelect_Signature in _IFSelect:
_IFSelect.IFSelect_Signature_swigregister(IFSelect_Signature)
class IFSelect_SignatureList(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        withlist: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Creates a signaturelist. if <withlist> is true, entities will be not only counted per signature, but also listed.

        """
        _IFSelect.IFSelect_SignatureList_swiginit(self, _IFSelect.new_IFSelect_SignatureList(*args))

    def Add(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        sign: str

        Return
        -------
        None

        Description
        -----------
        Adds an entity with its signature, i.e.: - counts an item more for <sign> - if record-list status is set, records the entity accepts a null entity (the signature is then for the global model). but if the string is empty, counts a null item. //! if signonly mode is set, this work is replaced by just setting lastvalue.

        """
        return _IFSelect.IFSelect_SignatureList_Add(self, *args)

    def Clear(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _IFSelect.IFSelect_SignatureList_Clear(self, *args)

    def Entities(self, *args):
        r"""

        Parameters
        ----------
        sign: str

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Returns the list of entities attached to a signature it is empty if <sign> has not been recorded it is a null handle if the list of entities is not known.

        """
        return _IFSelect.IFSelect_SignatureList_Entities(self, *args)

    def HasEntities(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if the list of entities is aknowledged, else the method entities will always return a null handle.

        """
        return _IFSelect.IFSelect_SignatureList_HasEntities(self, *args)

    def Init(self, *args):
        r"""

        Parameters
        ----------
        name: str
        count: NCollection_IndexedDataMap<TCollection_AsciiString, int>
        list: Standard_Transient
        nbnuls: int

        Return
        -------
        None

        Description
        -----------
        Aknowledges the list in once. name identifies the signature.

        """
        return _IFSelect.IFSelect_SignatureList_Init(self, *args)

    def LastValue(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the last value recorded by add (only if signmode set) cleared by clear or init.

        """
        return _IFSelect.IFSelect_SignatureList_LastValue(self, *args)

    def List(self, *args):
        r"""

        Parameters
        ----------
        root: str (optional, default to )

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the list of signatures, as a sequence of strings (but without their respective counts). it is ordered. by default, for all the signatures. if <root> is given non empty, for the signatures which begin by <root>.

        """
        return _IFSelect.IFSelect_SignatureList_List(self, *args)

    def GetModeSignOnly(self):
        r"""GetModeSignOnly(IFSelect_SignatureList self) -> Standard_Boolean"""
        return _IFSelect.IFSelect_SignatureList_GetModeSignOnly(self)

    def SetModeSignOnly(self, value):
        r"""SetModeSignOnly(IFSelect_SignatureList self, Standard_Boolean value)"""
        return _IFSelect.IFSelect_SignatureList_SetModeSignOnly(self, value)

    def Name(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the recorded name. remark: default is '...' (no setname called).

        """
        return _IFSelect.IFSelect_SignatureList_Name(self, *args)

    def NbNulls(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of null entities.

        """
        return _IFSelect.IFSelect_SignatureList_NbNulls(self, *args)

    def NbTimes(self, *args):
        r"""

        Parameters
        ----------
        sign: str

        Return
        -------
        int

        Description
        -----------
        Returns the number of times a signature was counted, 0 if it has not been recorded at all.

        """
        return _IFSelect.IFSelect_SignatureList_NbTimes(self, *args)

    def PrintCountToString(self):
        r"""PrintCountToString(IFSelect_SignatureList self) -> std::string"""
        return _IFSelect.IFSelect_SignatureList_PrintCountToString(self)

    def PrintSumToString(self):
        r"""PrintSumToString(IFSelect_SignatureList self) -> std::string"""
        return _IFSelect.IFSelect_SignatureList_PrintSumToString(self)

    def SetList(self, *args):
        r"""

        Parameters
        ----------
        withlist: bool

        Return
        -------
        None

        Description
        -----------
        Changes the record-list status. the list is not cleared but its use changes.

        """
        return _IFSelect.IFSelect_SignatureList_SetList(self, *args)

    def SetName(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        None

        Description
        -----------
        Defines a name for a signaturelist (used to print it).

        """
        return _IFSelect.IFSelect_SignatureList_SetName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignatureList_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignatureList

# Register IFSelect_SignatureList in _IFSelect:
_IFSelect.IFSelect_SignatureList_swigregister(IFSelect_SignatureList)
class IFSelect_Transformer(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def ChangeProtocol(self, *args):
        r"""

        Parameters
        ----------
        newproto: Interface_Protocol

        Return
        -------
        bool

        Description
        -----------
        This methods allows to declare that the protocol applied to the new model has changed. it applies to the last call to perform. //! returns true if the protocol has changed, false else. the provided default keeps the starting protocol. this method should be redefined as required by the effect of perform.

        """
        return _IFSelect.IFSelect_Transformer_ChangeProtocol(self, *args)

    def Label(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a text which defines the way a transformer works (to identify the transformation it performs).

        """
        return _IFSelect.IFSelect_Transformer_Label(self, *args)

    def Perform(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        protocol: Interface_Protocol
        checks: Interface_CheckIterator
        newmod: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Performs a transformation (defined by each sub-class): <g> gives the input data (especially the starting model) and can be used for queries (by selections, etc...) <protocol> allows to work with general services as necessary (it applies to input data) if the change corresponds to a conversion to a new protocol, see also the method changeprotocol <checks> stores produced checks messages if any <newmod> gives the result of the transformation: - if it is null (i.e. has not been affected), the transformation has been made on the spot, it is assumed to cause no change to the graph of dependances - if it equates the starting model, it has been transformed on the spot (possibiliy some entities were replaced inside it) - if it is new, it corresponds to a new data set which replaces the starting one //! <self> is mutable to allow results for changeprotocol to be memorized if needed, and to store information useful for the method updated //! returns true if done, false if an error occurred: in this case, if a new data set has been produced, the transformation is ignored, else data may be corrupted.

        """
        return _IFSelect.IFSelect_Transformer_Perform(self, *args)

    def Updated(self, *args):
        r"""

        Parameters
        ----------
        entfrom: Standard_Transient
        entto: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        This method allows to know what happened to a starting entity after the last perform. if <entfrom> (from starting model) has one and only one known item which corresponds in the new produced model, this method must return true and fill the argument <entto>. else, it returns false.

        """
        return _IFSelect.IFSelect_Transformer_Updated(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Transformer_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Transformer

# Register IFSelect_Transformer in _IFSelect:
_IFSelect.IFSelect_Transformer_swigregister(IFSelect_Transformer)
class IFSelect_WorkLibrary(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def CopyModel(self, *args):
        r"""

        Parameters
        ----------
        original: Interface_InterfaceModel
        newmodel: Interface_InterfaceModel
        list: Interface_EntityIterator
        TC: Interface_CopyTool

        Return
        -------
        bool

        Description
        -----------
        Performs the copy of entities from an original model to a new one. it must also copy headers if any. returns true when done. the provided default works by copying the individual entities designated in the list, by using the general service class copytool. it can be redefined for a norm which, either implements copy by another way (do not forget to bind each copied result with its original entity in tc) and returns true, or does not know how to copy and returns false.

        """
        return _IFSelect.IFSelect_WorkLibrary_CopyModel(self, *args)

    def DumpHelp(self, *args):
        r"""

        Parameters
        ----------
        level: int

        Return
        -------
        str

        Description
        -----------
        Returns the help line recorded for <level>, or an empty string.

        """
        return _IFSelect.IFSelect_WorkLibrary_DumpHelp(self, *args)

    def DumpLevels(self, *args):
        r"""

        Parameters
        ----------

        Return
        -------
        def: int
        max: int

        Description
        -----------
        Returns the recorded default and maximum dump levels if none was recorded, max is returned negative, def as zero.

        """
        return _IFSelect.IFSelect_WorkLibrary_DumpLevels(self, *args)

    def ReadFile(self, *args):
        r"""

        Parameters
        ----------
        name: str
        model: Interface_InterfaceModel
        protocol: Interface_Protocol

        Return
        -------
        int

        Description
        -----------
        Gives the way to read a file and transfer it to a model <mod> is the resulting model, which has to be created by this method. in case of error, <mod> must be returned null return value is a status with free values. simply, 0 is for 'execution ok' the protocol can be used to work (e.g. create the model, read and recognize the entities).

        """
        return _IFSelect.IFSelect_WorkLibrary_ReadFile(self, *args)

    def ReadStream(self, *args):
        r"""

        Parameters
        ----------
        theName: str
        theIStream: std::istream
        model: Interface_InterfaceModel
        protocol: Interface_Protocol

        Return
        -------
        int

        Description
        -----------
        Interface to read a data from the specified stream. @param model is the resulting model, which has to be created by this method. in case of error, model must be returned null return value is a status: 0 - ok, 1 - read failure, -1 - stream failure. default implementation returns 1 (error).

        """
        return _IFSelect.IFSelect_WorkLibrary_ReadStream(self, *args)

    def SetDumpHelp(self, *args):
        r"""

        Parameters
        ----------
        level: int
        help: str

        Return
        -------
        None

        Description
        -----------
        Records a short line of help for a level (0 - max).

        """
        return _IFSelect.IFSelect_WorkLibrary_SetDumpHelp(self, *args)

    def SetDumpLevels(self, *args):
        r"""

        Parameters
        ----------
        def: int
        max: int

        Return
        -------
        None

        Description
        -----------
        Records a default level and a maximum value for level level for dumpentity can go between 0 and <max> default value will be <def>.

        """
        return _IFSelect.IFSelect_WorkLibrary_SetDumpLevels(self, *args)

    def WriteFile(self, *args):
        r"""

        Parameters
        ----------
        ctx: IFSelect_ContextWrite

        Return
        -------
        bool

        Description
        -----------
        Gives the way to write a file from a model. <ctx> contains all necessary information: the model, the protocol, the file name, and the list of file modifiers to be applied, also with restricted list of selected entities for each one, if required. in return, it brings the produced check-list //! the worklibrary has to query <applied> to get then run the contextwrite by looping like this (example): for (numap = 1; numap <= ctx.nbmodifiers(); numap ++) { ctx.setmodifier (numap); cast ctx.filemodifier() to specific type -> variable filemod if (!filemod.isnull()) filemod->perform (ctx,writer); filemod then works with ctx. it can, either act on the model itself (for instance on its header), or iterate on selected entities (start/next/more/value) it can call addfail or addwarning, as necessary }.

        """
        return _IFSelect.IFSelect_WorkLibrary_WriteFile(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_WorkLibrary_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_WorkLibrary

# Register IFSelect_WorkLibrary in _IFSelect:
_IFSelect.IFSelect_WorkLibrary_swigregister(IFSelect_WorkLibrary)
class IFSelect_WorkSession(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a work session it provides default, empty shareout and modelcopier, which can be replaced (if required, should be done just after creation).

        """
        _IFSelect.IFSelect_WorkSession_swiginit(self, _IFSelect.new_IFSelect_WorkSession(*args))

    def AddItem(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient
        active: bool (optional, default to Standard_True)

        Return
        -------
        int

        Description
        -----------
        Adds an item and returns its attached ident. does nothing if <item> is already recorded (and returns its attached ident) <active> if true commands call to setactive (see below) remark: the determined ident is used if <item> is a dispatch, to fill the shareout.

        """
        return _IFSelect.IFSelect_WorkSession_AddItem(self, *args)

    def AddNamedItem(self, *args):
        r"""

        Parameters
        ----------
        name: str
        item: Standard_Transient
        active: bool (optional, default to Standard_True)

        Return
        -------
        int

        Description
        -----------
        Adds an item with an attached name. if the name is already known in the worksession, the older item losts it returns ident if done, 0 else, i.e. if <item> is null if <name> is empty, works as additem (i.e. with no name) if <item> is already known but with no attached name, this method tries to attached a name to it <active> if true commands call to setactive (see below).

        """
        return _IFSelect.IFSelect_WorkSession_AddNamedItem(self, *args)

    def AppliedDispatches(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfInteger>

        Description
        -----------
        Returns the ordered list of dispatches stored by the shareout.

        """
        return _IFSelect.IFSelect_WorkSession_AppliedDispatches(self, *args)

    def BeginSentFiles(self, *args):
        r"""

        Parameters
        ----------
        record: bool

        Return
        -------
        None

        Description
        -----------
        Commands file sending to clear the list of already sent files, commands to record a new one if <record> is true this list is managed by the modelcopier when sendsplit is called it allows a global exploitation of the set of sent files.

        """
        return _IFSelect.IFSelect_WorkSession_BeginSentFiles(self, *args)

    def CategoryName(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        str

        Description
        -----------
        Returns the category name determined for an entity it is computed by the class category remark: an unknown entity gives an empty string.

        """
        return _IFSelect.IFSelect_WorkSession_CategoryName(self, *args)

    def CategoryNumber(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Returns the category number determined for an entity it is computed by the class category an unknown entity (number 0) gives a value -1.

        """
        return _IFSelect.IFSelect_WorkSession_CategoryNumber(self, *args)

    def ChangeModifierRank(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool
        before: int
        after: int

        Return
        -------
        bool

        Description
        -----------
        Changes the rank of a modifier in the session: model modifiers if <formodel> is true, file modifiers else the modifier n0 <before> is put to n0 <after> return true if done, false if <before> or <after> out of range.

        """
        return _IFSelect.IFSelect_WorkSession_ChangeModifierRank(self, *args)

    def CheckOne(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        complete: bool (optional, default to Standard_True)

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Returns a check for a single entity, under the form of a checkiterator (this gives only one form for the user) if <ent> is null or equates the current model, it gives the global check, else the check for the given entity <complete> as for modelchecklist.

        """
        return _IFSelect.IFSelect_WorkSession_CheckOne(self, *args)

    def ClearData(self, *args):
        r"""

        Parameters
        ----------
        mode: int

        Return
        -------
        None

        Description
        -----------
        Clears recorded data (not the items) according mode: 1: all data: model, graph, checklist, + cleardata 4 2: graph and checklist (they will then be recomputed later) 3: checklist (it will be recomputed by computecheck) 4: just content of selectpointed and counters plus 0: does nothing but called by setmodel cleardata is virtual, hence it can be redefined to clear other data of a specialised work session.

        """
        return _IFSelect.IFSelect_WorkSession_ClearData(self, *args)

    def ClearFile(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Erases all stored data from the file evaluation (i.e. all former naming information are lost).

        """
        return _IFSelect.IFSelect_WorkSession_ClearFile(self, *args)

    def ClearFinalModifiers(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Removes all the modifiers active in the modelcopier: they become inactive and they are removed from the session.

        """
        return _IFSelect.IFSelect_WorkSession_ClearFinalModifiers(self, *args)

    def ClearItems(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears all the recorded items: selections, dispatches, modifiers, and strings & intparams, with their idents & names. remark that if a model has been loaded, it is not cleared.

        """
        return _IFSelect.IFSelect_WorkSession_ClearItems(self, *args)

    def ClearShareOut(self, *args):
        r"""

        Parameters
        ----------
        onlydisp: bool

        Return
        -------
        None

        Description
        -----------
        Clears the list of dispatches recorded by the shareout if <only> disp is true, tha's all. else, clears also the lists of modifiers recorded by the shareout.

        """
        return _IFSelect.IFSelect_WorkSession_ClearShareOut(self, *args)

    def CombineAdd(self, *args):
        r"""

        Parameters
        ----------
        selcomb: IFSelect_Selection
        seladd: IFSelect_Selection
        atnum: int (optional, default to 0)

        Return
        -------
        int

        Description
        -----------
        Adds an input selection to a selectcombine (union or inters.). returns new count of inputs for this selectcombine if done or 0 if <sel> is not kind of selectcombine, or if <seladd> or <sel> is not in the worksession by default, adding is done at the end of the list else, it is an insertion to rank <atnum> (useful for un-redo).

        """
        return _IFSelect.IFSelect_WorkSession_CombineAdd(self, *args)

    def CombineRemove(self, *args):
        r"""

        Parameters
        ----------
        selcomb: IFSelect_Selection
        selrem: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Removes an input selection from a selectcombine (union or intersection). returns true if done, false if <selcomb> is not kind of selectcombine or <selrem> is not source of <selcomb>.

        """
        return _IFSelect.IFSelect_WorkSession_CombineRemove(self, *args)

    def ComputeCheck(self, *args):
        r"""

        Parameters
        ----------
        enforce: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Computes the checklist for the model currently loaded it can then be used for displays, queries ... returns true if ok, false else (i.e. no protocol set, or model absent). if <enforce> is false, works only if not already done or if a new model has been loaded from last call. remark: computation is enforced by every call to setmodel or runtransformer.

        """
        return _IFSelect.IFSelect_WorkSession_ComputeCheck(self, *args)

    def ComputeCounter(self, *args):
        r"""

        Parameters
        ----------
        counter: IFSelect_SignCounter
        forced: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Computes the content of a signcounter when it is defined with a selection, then returns true returns false if the signcounter is not defined with a selection, or if its selection mode is inhibited <forced> to work around optimisations.

        """
        return _IFSelect.IFSelect_WorkSession_ComputeCounter(self, *args)

    def ComputeCounterFromList(self, *args):
        r"""

        Parameters
        ----------
        counter: IFSelect_SignCounter
        list: TColStd_HSequenceOfTransient
        clear: bool (optional, default to Standard_True)

        Return
        -------
        bool

        Description
        -----------
        Computes the content of a signcounter from an input list if <list> is null, uses internal definition of the counter: a selection, else the whole model (recomputation forced) if <clear> is true (d), starts from scratch else, cumulates computations.

        """
        return _IFSelect.IFSelect_WorkSession_ComputeCounterFromList(self, *args)

    def ComputeGraph(self, *args):
        r"""

        Parameters
        ----------
        enforce: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Computes the graph used for selections, displays ... if a hgraph is already set, with same model as given by method model, does nothing. else, computes a new graph. if <enforce> is given true, computes a new graph anyway. remark that a call to cleargraph will cause computegraph to really compute a new graph returns true if graph is ok, false else (i.e. if no protocol is set, or if model is absent or empty).

        """
        return _IFSelect.IFSelect_WorkSession_ComputeGraph(self, *args)

    def DefaultFileRoot(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the defined default file root. it is used for dispatches which have no specific root attached. null handle if not defined.

        """
        return _IFSelect.IFSelect_WorkSession_DefaultFileRoot(self, *args)

    def Dispatch(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_Dispatch>

        Description
        -----------
        Returns a dispatch, given its ident in the session null result if <id> is not suitable for a dispatch (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_Dispatch(self, *args)

    def DispatchRank(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        int

        Description
        -----------
        Returns the rank of a dispatch in the shareout, or 0 if <disp> is not in the shareout or not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_DispatchRank(self, *args)

    def DumpSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Lists a selection and its sources (see selectioniterator), given its rank in the list.

        """
        return _IFSelect.IFSelect_WorkSession_DumpSelection(self, *args)

    def DumpShare(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Dumps contents of the shareout (on 'cout').

        """
        return _IFSelect.IFSelect_WorkSession_DumpShare(self, *args)

    def EntityLabel(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the label for <ent>, as the model does if <ent> is not in the model or if no model is loaded, a null handle is returned.

        """
        return _IFSelect.IFSelect_WorkSession_EntityLabel(self, *args)

    def EntityName(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the name of an entity this name is computed by the general service name returns a null handle if fails.

        """
        return _IFSelect.IFSelect_WorkSession_EntityName(self, *args)

    def ErrorHandle(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns the error handler status.

        """
        return _IFSelect.IFSelect_WorkSession_ErrorHandle(self, *args)

    def EvalSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Evaluates the effect of a selection applied on the input model returned result remains empty if no input model has been set.

        """
        return _IFSelect.IFSelect_WorkSession_EvalSelection(self, *args)

    def EvalSplit(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_PacketList>

        Description
        -----------
        Returns an evaluation of the whole shareout definition: i.e. how the entities of the starting model are forecast to be sent to various files: list of packets according the dispatches, effective lists of roots for each packet (which determine the content of the corresponding file); plus evaluation of which entities are: forgotten (sent into no file), duplicated (sent into more than one file), sent into a given file. see the class packetlist for more details.

        """
        return _IFSelect.IFSelect_WorkSession_EvalSplit(self, *args)

    def EvaluateComplete(self, *args):
        r"""

        Parameters
        ----------
        mode: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Displays the effect of applying the shareout on the input model. <mode> = 0 (default): displays only roots for each packet, <mode> = 1: displays all entities for each packet, plus duplicated entities <mode> = 2: same as <mode> = 1, plus displays forgotten entities (which are in no packet at all).

        """
        return _IFSelect.IFSelect_WorkSession_EvaluateComplete(self, *args)

    def EvaluateDispatch(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch
        mode: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Displays the result of applying a dispatch on the input model (also shows remainder if there is) <mode> = 0 (default), displays nothing else <mode> = 1: displays also duplicated entities (because of this dispatch) <mode> = 2: displays the entities of the starting model which are not taken by this dispatch (forgotten entities) <mode> = 3: displays both duplicated and forgotten entities remark: evaluatecomplete displays these data evaluated for for all the dispatches, if there are several.

        """
        return _IFSelect.IFSelect_WorkSession_EvaluateDispatch(self, *args)

    def EvaluateFile(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Performs and stores a file evaluation. the results are a list of produced models and a list of names (strings), in parallel fills lastrunchecklist.

        """
        return _IFSelect.IFSelect_WorkSession_EvaluateFile(self, *args)

    def EvaluateSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Displays the list of entities selected by a selection (i.e. the result of evalselection).

        """
        return _IFSelect.IFSelect_WorkSession_EvaluateSelection(self, *args)

    def FileExtension(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the defined file extension. null handle if not defined.

        """
        return _IFSelect.IFSelect_WorkSession_FileExtension(self, *args)

    def FileModel(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns a model, given its rank in the evaluation list.

        """
        return _IFSelect.IFSelect_WorkSession_FileModel(self, *args)

    def FileName(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the name of a file corresponding to a produced model, given its rank in the evaluation list.

        """
        return _IFSelect.IFSelect_WorkSession_FileName(self, *args)

    def FilePrefix(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the defined file prefix. null handle if not defined.

        """
        return _IFSelect.IFSelect_WorkSession_FilePrefix(self, *args)

    def FileRoot(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the file root defined for a dispatch. null if no root name is defined for it (hence, no file will be produced).

        """
        return _IFSelect.IFSelect_WorkSession_FileRoot(self, *args)

    def FinalModifierIdents(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfInteger>

        Description
        -----------
        Fills a sequence with a list of idents, those attached to the modifiers applied to final sending. model modifiers if <formodel> is true, file modifiers else this list is given in the order in which they will be applied (which takes into account the changes to modifier ranks).

        """
        return _IFSelect.IFSelect_WorkSession_FinalModifierIdents(self, *args)

    def GeneralModifier(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_GeneralModifier>

        Description
        -----------
        Returns a modifier, given its ident in the session null result if <id> is not suitable for a modifier (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_GeneralModifier(self, *args)

    def GetModeStat(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Return value of mode defining of filling selection during loading.

        """
        return _IFSelect.IFSelect_WorkSession_GetModeStat(self, *args)

    def GiveFileComplete(self, *args):
        r"""

        Parameters
        ----------
        file: str

        Return
        -------
        str

        Description
        -----------
        Completes a file name as required, with prefix and extension (if defined; for a non-defined item, completes nothing).

        """
        return _IFSelect.IFSelect_WorkSession_GiveFileComplete(self, *args)

    def GiveFileRoot(self, *args):
        r"""

        Parameters
        ----------
        file: str

        Return
        -------
        str

        Description
        -----------
        Extracts file root name from a given complete file name (uses osd_path).

        """
        return _IFSelect.IFSelect_WorkSession_GiveFileRoot(self, *args)

    def GiveList(self, *args):
        r"""

        Parameters
        ----------
        obj: Standard_Transient

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Determines a list of entities from an object: <obj> already hsequenceoftransient: returned itself <obj> selection: its result of evaluation is returned <obj> an entity of the model: a hsequence which contains it else, an empty hsequence <obj> the model it self: all its content (not only the roots).

        Parameters
        ----------
        first: str
        second: str (optional, default to )

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Computes a list of entities from two alphanums, first and second, as follows: if <first> is a number or label of an entity: this entity if <first> is a list of numbers/labels: the list of entities if <first> is the name of a selection in <ws>, and <second> not defined, the standard result of this selection else, let's consider 'first second': this whole phrase is split by blanks, as follows (recursive call): - the leftest term is the final selection - the other terms define the result of the selection - and so on (the 'leftest minus one' is a selection, of which the input is given by the remaining ...).

        """
        return _IFSelect.IFSelect_WorkSession_GiveList(self, *args)

    def GiveListCombined(self, *args):
        r"""

        Parameters
        ----------
        l1: TColStd_HSequenceOfTransient
        l2: TColStd_HSequenceOfTransient
        mode: int

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Combines two lists and returns the result, according to mode: <mode> < 0: entities in <l1> and not in <l2> <mode> = 0: entities in <l1> and in <l2> <mode> > 0: entities in <l1> or in <l2>.

        """
        return _IFSelect.IFSelect_WorkSession_GiveListCombined(self, *args)

    def GiveListFromList(self, *args):
        r"""

        Parameters
        ----------
        selname: str
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Computes a list of entities from the model as follows <first> being a selection or a combination of selections, <ent> being an entity or a list of entities (as a hsequenceoftransient): the standard result of this selection applied to this list if <ent> is null, the standard definition of the selection is used (which contains a default input selection) if <selname> is erroneous, a null handle is returned //! remark: selname is processed as <first second> of preceding givelist.

        """
        return _IFSelect.IFSelect_WorkSession_GiveListFromList(self, *args)

    def GiveSelection(self, *args):
        r"""

        Parameters
        ----------
        selname: str

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns a selection from a name: - the name of a selection: this selection - the name of a signature + criteria between (..): a new selection from this signature - an entity or a list of entities: a new selectpointed else, returns a null handle.

        """
        return _IFSelect.IFSelect_WorkSession_GiveSelection(self, *args)

    def Graph(self, *args):
        r"""
        Return
        -------
        Interface_Graph

        Description
        -----------
        Returns the computed graph, for read only.

        """
        return _IFSelect.IFSelect_WorkSession_Graph(self, *args)

    def HGraph(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_HGraph>

        Description
        -----------
        Returns the computed graph as hgraph (null handle if not set).

        """
        return _IFSelect.IFSelect_WorkSession_HGraph(self, *args)

    def HasModel(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true is a model has been set.

        """
        return _IFSelect.IFSelect_WorkSession_HasModel(self, *args)

    def HasName(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Returns true if an item of the worksession has an attached name.

        """
        return _IFSelect.IFSelect_WorkSession_HasName(self, *args)

    def IntParam(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns an intparam, given its ident in the session null result if <id> is not suitable for an intparam (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_IntParam(self, *args)

    def IntValue(self, *args):
        r"""

        Parameters
        ----------
        it: IFSelect_IntParam

        Return
        -------
        int

        Description
        -----------
        Returns integer value of an intparam.

        """
        return _IFSelect.IFSelect_WorkSession_IntValue(self, *args)

    def IsLoaded(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a model is defined and really loaded (not empty), a protocol is set and a graph has been computed. in this case, the worksession can start to work.

        """
        return _IFSelect.IFSelect_WorkSession_IsLoaded(self, *args)

    def IsReversedSelectExtract(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Returns true if <sel> a reversed selectextract, false else.

        """
        return _IFSelect.IFSelect_WorkSession_IsReversedSelectExtract(self, *args)

    def Item(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns an item, given its ident. returns a null handle if no item corresponds to this ident.

        """
        return _IFSelect.IFSelect_WorkSession_Item(self, *args)

    def ItemIdent(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Returns the ident attached to an item in the worksession, or zero if it is unknown.

        """
        return _IFSelect.IFSelect_WorkSession_ItemIdent(self, *args)

    def ItemIdents(self, *args):
        r"""

        Parameters
        ----------
        type: Standard_Type

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfInteger>

        Description
        -----------
        Fills a sequence with the list of idents attached to the items of which type complies with (iskind) <type> (alphabetic order) remark: <type> = type(standard_transient) gives all the idents which are suitable in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_ItemIdents(self, *args)

    def ItemLabel(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns a label which illustrates the content of an item, given its ident. this label is: - for a text parameter, 'text:<text value>' - for an integer parameter, 'integer:<integer value>' - for a selection, a dispatch or a modifier, its label (see these classes) - for any other kind of variable, its cdl type.

        """
        return _IFSelect.IFSelect_WorkSession_ItemLabel(self, *args)

    def ItemNames(self, *args):
        r"""

        Parameters
        ----------
        type: Standard_Type

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Fills a sequence with the list of the names attached to items of which type complies with (iskind) <type> (alphabetic order) remark: <type> = type(standard_transient) gives all the names.

        """
        return _IFSelect.IFSelect_WorkSession_ItemNames(self, *args)

    def ItemNamesForLabel(self, *args):
        r"""

        Parameters
        ----------
        label: str

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Fills a sequence with the names of the control items, of which the label matches <label> (contain it): see nextidentforlabel search mode is fixed to 'contained' if <label> is empty, returns all names.

        """
        return _IFSelect.IFSelect_WorkSession_ItemNamesForLabel(self, *args)

    def ItemSelection(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the selection of a dispatch or a generalmodifier. returns a null handle if none is defined or <item> not good type.

        """
        return _IFSelect.IFSelect_WorkSession_ItemSelection(self, *args)

    def LastRunCheckList(self, *args):
        r"""
        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Returns the check list produced by the last execution of either: evaluatefile(for split), sendsplit, sendall, sendselected, runtransformer-runmodifier cleared by setmodel or cleardata(1) the field is protected, hence a specialized worksession may fill it.

        """
        return _IFSelect.IFSelect_WorkSession_LastRunCheckList(self, *args)

    def ListFinalModifiers(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool

        Return
        -------
        None

        Description
        -----------
        Lists the modifiers of the session (for each one, displays its label). listing is done following ranks (modifiers are invoked following their ranks) model modifiers if <formodel> is true, file modifiers else.

        """
        return _IFSelect.IFSelect_WorkSession_ListFinalModifiers(self, *args)

    def ListItems(self, *args):
        r"""

        Parameters
        ----------
        label: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Lists the labels of all items of the worksession if <label> is defined, lists labels which contain it.

        """
        return _IFSelect.IFSelect_WorkSession_ListItems(self, *args)

    def LoadedFile(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the filename used to load current model empty if unknown.

        """
        return _IFSelect.IFSelect_WorkSession_LoadedFile(self, *args)

    def MaxIdent(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the maximum value for an item identifier. it can be greater to the count of known items, because some can have been removed.

        """
        return _IFSelect.IFSelect_WorkSession_MaxIdent(self, *args)

    def MaxSendingCount(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the greater count of different files in which any of the starting entities could be sent. before any file output, this count is 0. ideal count is 1. more than 1 means that duplications occur.

        """
        return _IFSelect.IFSelect_WorkSession_MaxSendingCount(self, *args)

    def Model(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_InterfaceModel>

        Description
        -----------
        Returns the model of the work session (null handle if none) should be c++: return const &.

        """
        return _IFSelect.IFSelect_WorkSession_Model(self, *args)

    def ModelCheckList(self, *args):
        r"""

        Parameters
        ----------
        complete: bool (optional, default to Standard_True)

        Return
        -------
        Interface_CheckIterator

        Description
        -----------
        Returns the check list for the model currently loaded: <complete> = true: complete (syntactic & semantic messages), computed if not yet done <complete> = false: only syntactic (check file form).

        """
        return _IFSelect.IFSelect_WorkSession_ModelCheckList(self, *args)

    def ModelCopier(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_ModelCopier>

        Description
        -----------
        Gives access to the complete modelcopier.

        """
        return _IFSelect.IFSelect_WorkSession_ModelCopier(self, *args)

    def ModelModifier(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_Modifier>

        Description
        -----------
        Returns a model modifier, given its ident in the session, i.e. typed as a modifier (not simply a generalmodifier) null result if <id> is not suitable for a modifier (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_ModelModifier(self, *args)

    def ModifierRank(self, *args):
        r"""

        Parameters
        ----------
        item: IFSelect_GeneralModifier

        Return
        -------
        int

        Description
        -----------
        Returns the rank of a modifier given its ident. model or file modifier according its type (modelmodifier or not) remember that modifiers are applied sequentially following their rank: first model modifiers then file modifiers rank is given by rank of call to additem and can be changed by changemodifierrank.

        """
        return _IFSelect.IFSelect_WorkSession_ModifierRank(self, *args)

    def Name(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns the name attached to an item as a variable of this worksession. if <item> is null or not recorded, returns an empty string.

        """
        return _IFSelect.IFSelect_WorkSession_Name(self, *args)

    def NameIdent(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        int

        Description
        -----------
        Returns the ident attached to a name, 0 if name not recorded.

        """
        return _IFSelect.IFSelect_WorkSession_NameIdent(self, *args)

    def NamedItem(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the item which corresponds to a variable, given its name (whatever the type of this item). returns a null handle if this name is not recorded.

        Parameters
        ----------
        name: TCollection_HAsciiString

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Same as above, but <name> is given through a handle especially useful with methods selectionnames, etc...

        """
        return _IFSelect.IFSelect_WorkSession_NamedItem(self, *args)

    def NbFiles(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of produced models.

        """
        return _IFSelect.IFSelect_WorkSession_NbFiles(self, *args)

    def NbFinalModifiers(self, *args):
        r"""

        Parameters
        ----------
        formodel: bool

        Return
        -------
        int

        Description
        -----------
        Returns the count of modifiers applied to final sending model modifiers if <formodel> is true, file modifiers else (i.e. modifiers which apply once the models have been filled).

        """
        return _IFSelect.IFSelect_WorkSession_NbFinalModifiers(self, *args)

    def NbSources(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        int

        Description
        -----------
        Returns the count of input selections known for a selection, or 0 if <sel> not in the worksession. this count is one for a selectdeduct / selectextract kind, two for selectcontrol kind, variable for a selectcombine (union/intersection), zero else.

        """
        return _IFSelect.IFSelect_WorkSession_NbSources(self, *args)

    def NbStartingEntities(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of entities stored in the model, or 0.

        """
        return _IFSelect.IFSelect_WorkSession_NbStartingEntities(self, *args)

    def NewIntParam(self, *args):
        r"""

        Parameters
        ----------
        name: str (optional, default to )

        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Creates a new intparam. a name can be set (optional) returns the created intparam, or a null handle in case of failure (see additem/addnameditem).

        """
        return _IFSelect.IFSelect_WorkSession_NewIntParam(self, *args)

    def NewParamFromStatic(self, *args):
        r"""

        Parameters
        ----------
        statname: str
        name: str (optional, default to )

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Creates a parameter as being bound to a static if the static is integer, this creates an intparam bound to it by its name. else this creates a string which is the value of the static. returns a null handle if <statname> is unknown as a static.

        """
        return _IFSelect.IFSelect_WorkSession_NewParamFromStatic(self, *args)

    def NewSelectPointed(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient
        name: str

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Creates a new selection, of type selectpointed, its content starts with <list>. a name must be given (can be empty).

        """
        return _IFSelect.IFSelect_WorkSession_NewSelectPointed(self, *args)

    def NewTextParam(self, *args):
        r"""

        Parameters
        ----------
        name: str (optional, default to )

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Creates a new (empty) textparam. a name can be set (optional) returns the created textparam (as an hasciistring), or a null handle in case of failure (see additem/addnameditem).

        """
        return _IFSelect.IFSelect_WorkSession_NewTextParam(self, *args)

    def NewTransformStandard(self, *args):
        r"""

        Parameters
        ----------
        copy: bool
        name: str (optional, default to )

        Return
        -------
        opencascade::handle<IFSelect_Transformer>

        Description
        -----------
        Creates and returns a transformstandard, empty, with its copy option (true = copy, false = on the spot) and an optional name. to a transformstandard, the method setappliedmodifier applies.

        """
        return _IFSelect.IFSelect_WorkSession_NewTransformStandard(self, *args)

    def NextIdentForLabel(self, *args):
        r"""

        Parameters
        ----------
        label: str
        id: int
        mode: int (optional, default to 0)

        Return
        -------
        int

        Description
        -----------
        For query by label with possible iterations searches the ident of which item has a label which matches a given one, the search starts from an initial ident. returns the first found ident which follows <id>, or zero //! the search must start with <id> = 0, it returns the next ident which matches. to iterate, call again this method which this returned value as <id>. once an ident has been returned, the item can be obtained by the method item //! <mode> precises the required matching mode: - 0 (default): <label> must match exactly with the item label - 1: <label> must match the exact beginning (the end is free) - 2: <label> must be at least once wherever in the item label - other values are ignored.

        """
        return _IFSelect.IFSelect_WorkSession_NextIdentForLabel(self, *args)

    def NumberFromLabel(self, *args):
        r"""

        Parameters
        ----------
        val: str
        afternum: int (optional, default to 0)

        Return
        -------
        int

        Description
        -----------
        From a given label in model, returns the corresponding number starts from first entity by default, may start after a given number: this number may be given negative, its absolute value is then considered. hence a loop on numberfromlabel may be programmed (stop test is: returned value positive or null) //! returns 0 if not found, < 0 if more than one found (first found in negative). if <val> just gives an integer value, returns it.

        """
        return _IFSelect.IFSelect_WorkSession_NumberFromLabel(self, *args)

    def Protocol(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Interface_Protocol>

        Description
        -----------
        Returns the protocol. null handle if not yet set should be c++: return const &.

        """
        return _IFSelect.IFSelect_WorkSession_Protocol(self, *args)

    def QueryCheckList(self, *args):
        r"""

        Parameters
        ----------
        chl: Interface_CheckIterator

        Return
        -------
        None

        Description
        -----------
        Loads data from a check iterator to query status on it.

        """
        return _IFSelect.IFSelect_WorkSession_QueryCheckList(self, *args)

    def QueryCheckStatus(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Determines check status for an entity regarding last call to querychecklist: -1: <ent> unknown in the model, ignored 0: no check at all, immediate or inherited thru graph 1: immediate warning (no fail), no inherited check 2: immediate fail, no inherited check +10: idem but some inherited warning (no fail) +20: idem but some inherited fail.

        """
        return _IFSelect.IFSelect_WorkSession_QueryCheckStatus(self, *args)

    def QueryParent(self, *args):
        r"""

        Parameters
        ----------
        entdad: Standard_Transient
        entson: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Determines if <entdad> is parent of <entson> (in the graph), returns: -1 if no; 0 if <entdad> = <entson> 1 if immediate parent, > 1 if parent, gives count of steps.

        """
        return _IFSelect.IFSelect_WorkSession_QueryParent(self, *args)

    def ReadFile(self, *args):
        r"""

        Parameters
        ----------
        filename: str

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Reads a file with the worklibrary (sets model and loadedfile) returns a integer status which can be: retdone if ok, retvoid if no protocol not defined, reterror for file not found, retfail if fail during read.

        """
        return _IFSelect.IFSelect_WorkSession_ReadFile(self, *args)

    def ReadStream(self, *args):
        r"""

        Parameters
        ----------
        theName: str
        theIStream: std::istream

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Reads a file from stream with the worklibrary (sets model and loadedfile) returns a integer status which can be: retdone if ok, retvoid if no protocol not defined, reterror for file not found, retfail if fail during read.

        """
        return _IFSelect.IFSelect_WorkSession_ReadStream(self, *args)

    def RemoveItem(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Removes an item given its ident. returns false if <id> is attached to no item in the worksession. for a named item, also removes its name.

        """
        return _IFSelect.IFSelect_WorkSession_RemoveItem(self, *args)

    def RemoveName(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        bool

        Description
        -----------
        Removes a name without removing the item returns true if done, false else (name not recorded).

        """
        return _IFSelect.IFSelect_WorkSession_RemoveName(self, *args)

    def RemoveNamedItem(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        bool

        Description
        -----------
        Removes an item from the session, given its name returns true if done, false else (name not recorded) (applies only on item which are named).

        """
        return _IFSelect.IFSelect_WorkSession_RemoveNamedItem(self, *args)

    def ResetAppliedModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_GeneralModifier

        Return
        -------
        bool

        Description
        -----------
        Resets a generalmodifier to be applied returns true if done, false if <modif> was not applied.

        """
        return _IFSelect.IFSelect_WorkSession_ResetAppliedModifier(self, *args)

    def ResetItemSelection(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Resets input selection which was set by setitemselection same conditions as for setitemselection returns true if done, false if <item> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_ResetItemSelection(self, *args)

    def RunModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_Modifier
        copy: bool

        Return
        -------
        int

        Description
        -----------
        Runs a modifier on starting model. it can modify entities, or add new ones. but the model or the protocol is unchanged. the modifier is applied on each entity of the model. see also runmodifierselected fills lastrunchecklist //! <copy>: if true, a new data set is produced which brings the modifications (model + its entities) if false, data are modified on the spot //! it works through a transformstandard defined with <modif> returned status as runtransformer: 0 nothing done, >0 ok, <0 problem, but only between -3 and 3 (protocol unchanged) remark: <copy> true will give <effect> = 3 or -3.

        """
        return _IFSelect.IFSelect_WorkSession_RunModifier(self, *args)

    def RunModifierSelected(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_Modifier
        sel: IFSelect_Selection
        copy: bool

        Return
        -------
        int

        Description
        -----------
        Acts as runmodifier, but the modifier is applied on the list determined by a selection, rather than on the whole model if the selection is a null handle, the whole model is taken.

        """
        return _IFSelect.IFSelect_WorkSession_RunModifierSelected(self, *args)

    def RunTransformer(self, *args):
        r"""

        Parameters
        ----------
        transf: IFSelect_Transformer

        Return
        -------
        int

        Description
        -----------
        Runs a transformer on starting model, which can then be edited or replaced by a new one. the protocol can also be changed. fills lastrunchecklist //! returned status is 0 if nothing done (<transf> or model undefined), positive if ok, negative else: 0: nothing done 1: ok, edition on the spot with no change to the graph of dependances (purely local) 2: ok, model edited on the spot (graph recomputed, may have changed), protocol unchanged 3: ok, new model produced, same protocol 4: ok, model edited on the spot (graph recomputed), but protocol has changed 5: ok, new model produced, protocol has changed -1: error on the spot (slight changes), data may be corrupted (remark: corruption should not be profound) -2: error on edition the spot, data may be corrupted (checking them is recommended) -3: error with a new data set, transformation ignored -4: ok as 4, but graph of dependances count not be recomputed (the former one is kept): check the protocol.

        """
        return _IFSelect.IFSelect_WorkSession_RunTransformer(self, *args)

    def Selection(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns a selection, given its ident in the session null result if <id> is not suitable for a selection (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_Selection(self, *args)

    def SelectionResult(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Returns the result of a selection, computed by evalselection (see above) under the form of a hsequence (hence, it can be used by a frontal-engine logic). it can be empty returns a null handle if <sel> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SelectionResult(self, *args)

    def SelectionResultFromList(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        list: TColStd_HSequenceOfTransient

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Returns the result of a selection, by forcing its input with a given list <list> (unless <list> is null). rules: <list> applies only for a selectdeduct kind selection: its input is considered: if it is a selectdeduct kind selection, its input is considered, etc... until an input is not a deduct/extract: its result is replaced by <list> and all the chain of deductions is applied.

        """
        return _IFSelect.IFSelect_WorkSession_SelectionResultFromList(self, *args)

    def SendAll(self, *args):
        r"""

        Parameters
        ----------
        filename: str
        computegraph: bool (optional, default to Standard_False)

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Sends the starting model into one file, without splitting, managing remaining data or anything else. <computegraph> true commands the graph to be recomputed before sending: required when a model is filled in several steps //! the model and file modifiers recorded to be applied on sending files are. returns a status of execution: done if ok, void if no data available, error if errors occurred (work library is not defined), errors during translation fail if exception during translation is raised stop if no disk space or disk, file is write protected fills lastrunchecklist.

        """
        return _IFSelect.IFSelect_WorkSession_SendAll(self, *args)

    def SendSelected(self, *args):
        r"""

        Parameters
        ----------
        filename: str
        sel: IFSelect_Selection
        computegraph: bool (optional, default to Standard_False)

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Sends a part of the starting model into one file, without splitting. but remaining data are managed. <computegraph> true commands the graph to be recomputed before sending: required when a model is filled in several steps //! the model and file modifiers recorded to be applied on sending files are. returns a status: done if ok, fail if error during send, error: worklibrary not defined, void: selection list empty fills lastrunchecklist.

        """
        return _IFSelect.IFSelect_WorkSession_SendSelected(self, *args)

    def SendSplit(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Performs creation of derived files from the input model takes its data (sub-models and names), from result evaluatefile if active, else by dynamic evaluation (not stored) after sendsplit, result of evaluatefile is cleared fills lastrunchecklist //! works with the worklibrary which acts on specific type of model and can work with file modifiers (managed by the model copier) and a modelcopier, which can work with model modifiers returns false if, either worklibrary has failed on at least one sub-file, or the work session is badly conditioned (no model defined, or filenaming not in phase with shareout).

        """
        return _IFSelect.IFSelect_WorkSession_SendSplit(self, *args)

    def SentFiles(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfHAsciiString>

        Description
        -----------
        Returns the list of recorded sent files, or a null handle is recording has not been enabled.

        """
        return _IFSelect.IFSelect_WorkSession_SentFiles(self, *args)

    def SentList(self, *args):
        r"""

        Parameters
        ----------
        count: int (optional, default to -1)

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the list of entities sent in files, accourding the count of files each one has been sent (these counts are reset by setmodel or setremaining(forget) ) stored in graph status <count> = -1 (default) is for entities sent at least once <count> = 0 is for the remaining list (entities not yet sent) <count> = 1 is for entities sent in one and only one file (the ideal case) remaining data are computed on each sending/copying output files (see methods evaluatefile and sendsplit) graph status is 0 for remaining entity, <count> for sent into <count> files this status is set to 0 (not yet sent) for all by setmodel and by setremaining(mode=forget,display).

        """
        return _IFSelect.IFSelect_WorkSession_SentList(self, *args)

    def SetActive(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient
        mode: bool

        Return
        -------
        bool

        Description
        -----------
        Following the type of <item>: - dispatch: adds or removes it in the shareout & filenaming - generalmodifier: adds or removes it for final sending (i.e. in the modelcopier) returns true if it did something, false else (state unchanged).

        """
        return _IFSelect.IFSelect_WorkSession_SetActive(self, *args)

    def SetAppliedModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_GeneralModifier
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Sets a generalmodifier to be applied to an item: - item = shareout: applies for final sending (all dispatches) - item is a dispatch: applies for this dispatch only returns true if done, false if <modif> or <item> not in <self>.

        """
        return _IFSelect.IFSelect_WorkSession_SetAppliedModifier(self, *args)

    def SetControl(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        sc: IFSelect_Selection
        formain: bool (optional, default to Standard_True)

        Return
        -------
        bool

        Description
        -----------
        Sets an input selection, main if <formain> is true, second else (as <sc>) to a selectcontrol (as <sel>). returns true if done, false if <sel> is not a selectcontrol, or <sc> or <sel> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SetControl(self, *args)

    def SetDefaultFileRoot(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        bool

        Description
        -----------
        Defines a default file root name. clears it is <name> = '' returns true if ok, false if <name> already set for a dispatch.

        """
        return _IFSelect.IFSelect_WorkSession_SetDefaultFileRoot(self, *args)

    def SetErrorHandle(self, *args):
        r"""

        Parameters
        ----------
        toHandle: bool

        Return
        -------
        None

        Description
        -----------
        Changes the error handler status (by default, it is not set).

        """
        return _IFSelect.IFSelect_WorkSession_SetErrorHandle(self, *args)

    def SetFileExtension(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        None

        Description
        -----------
        Defines a file extension.

        """
        return _IFSelect.IFSelect_WorkSession_SetFileExtension(self, *args)

    def SetFilePrefix(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        None

        Description
        -----------
        Defines a file prefix.

        """
        return _IFSelect.IFSelect_WorkSession_SetFilePrefix(self, *args)

    def SetFileRoot(self, *args):
        r"""

        Parameters
        ----------
        disp: IFSelect_Dispatch
        name: str

        Return
        -------
        bool

        Description
        -----------
        Defines a root for a dispatch if <name> is empty, clears root name this has as effect to inhibit the production of file by <disp> returns false if <disp> is not in the worksession or if a root name is already defined for it.

        """
        return _IFSelect.IFSelect_WorkSession_SetFileRoot(self, *args)

    def SetInputSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        input: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Sets an input selection (as <input>) to a selectextract or a selectdeduct (as <sel>). returns true if done, false if <sel> is neither a selectextract nor a selectdeduct, or not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SetInputSelection(self, *args)

    def SetIntValue(self, *args):
        r"""

        Parameters
        ----------
        it: IFSelect_IntParam
        val: int

        Return
        -------
        bool

        Description
        -----------
        Changes the integer value of an intparam returns true if done, false if <it> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SetIntValue(self, *args)

    def SetItemSelection(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient
        sel: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Sets a selection as input for an item, according its type: if <item> is a dispatch: as final selection if <item> is a generalmodifier (i.e. any kind of modifier): as selection used to filter entities to modify <sel> null causes this selection to be nullified returns false if <item> is not of a suitable type, or <item> or <sel> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SetItemSelection(self, *args)

    def SetLibrary(self, *args):
        r"""

        Parameters
        ----------
        theLib: IFSelect_WorkLibrary

        Return
        -------
        None

        Description
        -----------
        Sets a worklibrary, which will be used to read and write files.

        """
        return _IFSelect.IFSelect_WorkSession_SetLibrary(self, *args)

    def SetLoadedFile(self, *args):
        r"""

        Parameters
        ----------
        theFileName: str

        Return
        -------
        None

        Description
        -----------
        Stores the filename used for read for setting the model it is cleared by setmodel and cleardata(1).

        """
        return _IFSelect.IFSelect_WorkSession_SetLoadedFile(self, *args)

    def SetModeStat(self, *args):
        r"""

        Parameters
        ----------
        theMode: bool

        Return
        -------
        None

        Description
        -----------
        Set value of mode responsible for presence of selections after loading if mode set to true that different selections will be accessible after loading else selections will be not accessible after loading( for economy memory in applications).

        """
        return _IFSelect.IFSelect_WorkSession_SetModeStat(self, *args)

    def SetModel(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel
        clearpointed: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Sets a model as input: this will be the model from which the shareout will work if <clearpointed> is true (default) all selectpointed items are cleared, else they must be managed by the caller remark: setmodel clears the graph, recomputes it if a protocol is set and if the model is not empty, of course.

        """
        return _IFSelect.IFSelect_WorkSession_SetModel(self, *args)

    def SetModelContent(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        keep: bool

        Return
        -------
        bool

        Description
        -----------
        Defines a new content from the former one if <keep> is true, it is given by entities selected by selection <sel> (and all shared entities) else, it is given by all the former content but entities selected by the selection <sel> (and properly shared ones) returns true if done. returns false if the selected list (from <sel>) is empty, hence nothing is done.

        """
        return _IFSelect.IFSelect_WorkSession_SetModelContent(self, *args)

    def SetModelCopier(self, *args):
        r"""

        Parameters
        ----------
        copier: IFSelect_ModelCopier

        Return
        -------
        None

        Description
        -----------
        Sets a new modelcopier. fills items which its content.

        """
        return _IFSelect.IFSelect_WorkSession_SetModelCopier(self, *args)

    def SetParams(self, *args):
        r"""

        Parameters
        ----------
        params: Standard_Transient
        uselist: NCollection_Vector<int>

        Return
        -------
        None

        Description
        -----------
        Sets a list of parameters, i.e. typedvalue, to be handled through an editor the two lists are parallel, if <params> is longer than <uses>, surnumeral parameters are for general use //! editforms are created to handle these parameters (list, edit) on the basis of a parameditor xst-params-edit //! a use number dispatches the parameter to a given editform editforms are defined as follows name use means xst-params all all parameters (complete list) xst-params-general 1 generals xst-params-load 2 loadfile (no transfer) xst-params-send 3 sendfile (write, no transfer) xst-params-split 4 split xst-param-read 5 transfer on reading xst-param-write 6 transfer on writing.

        """
        return _IFSelect.IFSelect_WorkSession_SetParams(self, *args)

    def SetProtocol(self, *args):
        r"""

        Parameters
        ----------
        protocol: Interface_Protocol

        Return
        -------
        None

        Description
        -----------
        Sets a protocol, which will be used to determine graphs, to read and to write files.

        """
        return _IFSelect.IFSelect_WorkSession_SetProtocol(self, *args)

    def SetRemaining(self, *args):
        r"""

        Parameters
        ----------
        mode: IFSelect_RemainMode

        Return
        -------
        bool

        Description
        -----------
        Processes remaining data (after having sent files), mode: forget: forget remaining info (i.e. clear all 'sent' status) compute: compute and keep remaining (does nothing if: remaining is empty or if no files has been sent) display: display entities recorded as remaining undo: restore former state of data (after remaining(1) ) returns true if ok, false else (i.e. mode = 2 and remaining list is either empty or takes all the entities, or mode = 3 and no former computation of remaining data was done).

        """
        return _IFSelect.IFSelect_WorkSession_SetRemaining(self, *args)

    def SetSelectPointed(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        list: TColStd_HSequenceOfTransient
        mode: int

        Return
        -------
        bool

        Description
        -----------
        Changes the content of a selection of type selectpointed according <mode>: 0 set <list> as new content (clear former) 1: adds <list> to actual content -1: removes <list> from actual content returns true if done, false if <sel> is not a selectpointed.

        """
        return _IFSelect.IFSelect_WorkSession_SetSelectPointed(self, *args)

    def SetShareOut(self, *args):
        r"""

        Parameters
        ----------
        shareout: IFSelect_ShareOut

        Return
        -------
        None

        Description
        -----------
        Sets a new shareout. fills items which its content warning: data from the former shareout are lost.

        """
        return _IFSelect.IFSelect_WorkSession_SetShareOut(self, *args)

    def SetSignType(self, *args):
        r"""

        Parameters
        ----------
        signtype: IFSelect_Signature

        Return
        -------
        None

        Description
        -----------
        Sets a specific signature to be the signtype, i.e. the signature which will determine typename from the model (basic function). it is recorded in the gtool this signature is also set as 'xst-sign-type' (reserved name).

        """
        return _IFSelect.IFSelect_WorkSession_SetSignType(self, *args)

    def SetTextValue(self, *args):
        r"""

        Parameters
        ----------
        par: TCollection_HAsciiString
        val: str

        Return
        -------
        bool

        Description
        -----------
        Changes the text value of a textparam (an hasciistring) returns true if done, false if <it> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_SetTextValue(self, *args)

    def ShareOut(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_ShareOut>

        Description
        -----------
        Returns the shareout defined at creation time.

        """
        return _IFSelect.IFSelect_WorkSession_ShareOut(self, *args)

    def Shareds(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Returns the list of entities shared by <ent> (can be empty) returns a null handle if <ent> is unknown.

        """
        return _IFSelect.IFSelect_WorkSession_Shareds(self, *args)

    def Sharings(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<TColStd_HSequenceOfTransient>

        Description
        -----------
        Returns the list of entities sharing <ent> (can be empty) returns a null handle if <ent> is unknown.

        """
        return _IFSelect.IFSelect_WorkSession_Sharings(self, *args)

    def SignCounter(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_SignCounter>

        Description
        -----------
        Returns a signcounter from its ident in the session null result if <id> is not suitable for a signcounter (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_SignCounter(self, *args)

    def SignType(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns the current signtype.

        """
        return _IFSelect.IFSelect_WorkSession_SignType(self, *args)

    def SignValue(self, *args):
        r"""

        Parameters
        ----------
        sign: IFSelect_Signature
        ent: Standard_Transient

        Return
        -------
        str

        Description
        -----------
        Returns the value computed by a signature for an entity returns an empty string if the entity does not belong to the loaded model.

        """
        return _IFSelect.IFSelect_WorkSession_SignValue(self, *args)

    def Signature(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns a signature, given its ident in the session null result if <id> is not suitable for a signature (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_Signature(self, *args)

    def Source(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        num: int (optional, default to 1)

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the <num>th input selection of a selection (see nbsources). returns a null handle if <sel> is not in the worksession or if <num> is out of the range <1-nbsources> to obtain more details, see the method sources.

        """
        return _IFSelect.IFSelect_WorkSession_Source(self, *args)

    def Sources(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        IFSelect_SelectionIterator

        Description
        -----------
        Returns the selections which are source of selection, given its rank in the list of selections (see selectioniterator) returned value is empty if <num> is out of range or if <sel> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_Sources(self, *args)

    def StartingEntity(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns an entity stored in the model of the worksession (null handle is no model or num out of range).

        """
        return _IFSelect.IFSelect_WorkSession_StartingEntity(self, *args)

    def StartingNumber(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Returns the number of an entity in the model (0 if no model set or <ent> not in the model).

        """
        return _IFSelect.IFSelect_WorkSession_StartingNumber(self, *args)

    def TextParam(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns a textparam, given its ident in the session null result if <id> is not suitable for a textparam (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_TextParam(self, *args)

    def TextValue(self, *args):
        r"""

        Parameters
        ----------
        par: TCollection_HAsciiString

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns text value of a textparam (a string) or an empty string if <it> is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_TextValue(self, *args)

    def ToggleSelectExtract(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Toggles the sense (direct <-> reversed) of a selectextract returns true if done, false if <sel> is not a selectextract or is not in the worksession.

        """
        return _IFSelect.IFSelect_WorkSession_ToggleSelectExtract(self, *args)

    def TraceDumpEntity(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        level: int

        Return
        -------
        None

        Description
        -----------
        Dumps an entity from the current model as inherited dumpentity on currently defined default trace file (<level> interpreted according to the norm, see worklibrary).

        """
        return _IFSelect.IFSelect_WorkSession_TraceDumpEntity(self, *args)

    def TraceDumpModel(self, *args):
        r"""

        Parameters
        ----------
        mode: int

        Return
        -------
        None

        Description
        -----------
        Dumps the current model (as inherited dumpmodel), on currently defined default trace file (default is standard output).

        """
        return _IFSelect.IFSelect_WorkSession_TraceDumpModel(self, *args)

    def TraceStatics(self, *args):
        r"""

        Parameters
        ----------
        use: int
        mode: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Traces the statics attached to a given use number if <use> is given positive (normal), the trace is embedded with a header and a trailer if <use> is negative, just values are printed (this allows to make compositions) remark: use number 5 commands use -2 to be traced remark: use numbers 4 and 6 command use -3 to be traced.

        """
        return _IFSelect.IFSelect_WorkSession_TraceStatics(self, *args)

    def Transformer(self, *args):
        r"""

        Parameters
        ----------
        id: int

        Return
        -------
        opencascade::handle<IFSelect_Transformer>

        Description
        -----------
        Returns a transformer, given its ident in the session null result if <id> is not suitable for a transformer (undefined, or defined for another kind of variable).

        """
        return _IFSelect.IFSelect_WorkSession_Transformer(self, *args)

    def UsesAppliedModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_GeneralModifier

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the item on which a generalmodifier is applied: the shareout, or a given dispatch returns a null handle if <modif> is not applied.

        """
        return _IFSelect.IFSelect_WorkSession_UsesAppliedModifier(self, *args)

    def ValidityName(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        str

        Description
        -----------
        Returns the validity name determined for an entity it is computed by the class signvalidity remark: an unknown entity gives an empty string.

        """
        return _IFSelect.IFSelect_WorkSession_ValidityName(self, *args)

    def WorkLibrary(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_WorkLibrary>

        Description
        -----------
        Returns the worklibrary. null handle if not yet set should be c++: return const &.

        """
        return _IFSelect.IFSelect_WorkSession_WorkLibrary(self, *args)

    def WriteFile(self, *args):
        r"""

        Parameters
        ----------
        filename: str

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Writes the current interface model globally to a file, and returns a write status which can be: done ok, fail file could not be written, error no norm is selected remark: it is a simple, one-file writing, other operations are available (such as splitting ...) which calls sendall.

        Parameters
        ----------
        filename: str
        sel: IFSelect_Selection

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Writes a sub-part of the current interface model to a file, as defined by a selection <sel>, recomputes the graph, and returns a write status which can be: done ok, fail file could not be written, error no norm is selected remark: it is a simple, one-file writing, other operations are available (such as splitting ...) which calls sendselected.

        """
        return _IFSelect.IFSelect_WorkSession_WriteFile(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_WorkSession_DownCast(t)


    __repr__ = _dumps_object

    @methodnotwrapped
    def theerrhand(self):
    	pass

    __swig_destroy__ = _IFSelect.delete_IFSelect_WorkSession

# Register IFSelect_WorkSession in _IFSelect:
_IFSelect.IFSelect_WorkSession_swigregister(IFSelect_WorkSession)
class IFSelect_Act(IFSelect_Activator):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        name: str
        help: str
        func: IFSelect_ActFunc

        Return
        -------
        None

        Description
        -----------
        Creates an act with a name, help and a function mode (add or addset) is given when recording.

        """
        _IFSelect.IFSelect_Act_swiginit(self, _IFSelect.new_IFSelect_Act(*args))

    @staticmethod
    def AddFSet(*args):
        r"""

        Parameters
        ----------
        name: str
        help: str
        func: IFSelect_ActFunc

        Return
        -------
        None

        Description
        -----------
        Adds a function with its name and help: creates an act then records it as function for xset (i.e. to create control item).

        """
        return _IFSelect.IFSelect_Act_AddFSet(*args)

    @staticmethod
    def AddFunc(*args):
        r"""

        Parameters
        ----------
        name: str
        help: str
        func: IFSelect_ActFunc

        Return
        -------
        None

        Description
        -----------
        Adds a function with its name and help: creates an act then records it as normal function.

        """
        return _IFSelect.IFSelect_Act_AddFunc(*args)

    @staticmethod
    def SetGroup(*args):
        r"""

        Parameters
        ----------
        group: str
        file: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Changes the default group name for the following acts group empty means to come back to default from activator also a file name can be precised (to query by getsource).

        """
        return _IFSelect.IFSelect_Act_SetGroup(*args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Act_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Act

# Register IFSelect_Act in _IFSelect:
_IFSelect.IFSelect_Act_swigregister(IFSelect_Act)
class IFSelect_BasicDumper(IFSelect_SessionDumper):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a basicdumper and puts it into the library of dumper.

        """
        _IFSelect.IFSelect_BasicDumper_swiginit(self, _IFSelect.new_IFSelect_BasicDumper(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_BasicDumper_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_BasicDumper

# Register IFSelect_BasicDumper in _IFSelect:
_IFSelect.IFSelect_BasicDumper_swigregister(IFSelect_BasicDumper)
class IFSelect_CheckCounter(IFSelect_SignatureList):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        withlist: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Creates a checkcounter, empty ready to work.

        """
        _IFSelect.IFSelect_CheckCounter_swiginit(self, _IFSelect.new_IFSelect_CheckCounter(*args))

    def Analyse(self, *args):
        r"""

        Parameters
        ----------
        list: Interface_CheckIterator
        model: Interface_InterfaceModel
        original: bool (optional, default to Standard_False)
        failsonly: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Analyses a checkiterator according a model (which detains the entities for which the checkiterator has messages), i.e. counts messages for entities if <original> is true, does not consider final messages but those before interpretation (such as inserting variables: integers, reals, strings) if <failsonly> is true, only fails are considered remark: global messages are recorded with a null entity.

        """
        return _IFSelect.IFSelect_CheckCounter_Analyse(self, *args)

    def SetSignature(self, *args):
        r"""

        Parameters
        ----------
        sign: MoniTool_SignText

        Return
        -------
        None

        Description
        -----------
        Sets a specific signature else, the current signtype (in the model) is used.

        """
        return _IFSelect.IFSelect_CheckCounter_SetSignature(self, *args)

    def Signature(self, *args):
        r"""
        Return
        -------
        opencascade::handle<MoniTool_SignText>

        Description
        -----------
        Returns the signature;.

        """
        return _IFSelect.IFSelect_CheckCounter_Signature(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_CheckCounter_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_CheckCounter

# Register IFSelect_CheckCounter in _IFSelect:
_IFSelect.IFSelect_CheckCounter_swigregister(IFSelect_CheckCounter)
class IFSelect_DispGlobal(IFSelect_Dispatch):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a dispglobal.

        """
        _IFSelect.IFSelect_DispGlobal_swiginit(self, _IFSelect.new_IFSelect_DispGlobal(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_DispGlobal_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_DispGlobal

# Register IFSelect_DispGlobal in _IFSelect:
_IFSelect.IFSelect_DispGlobal_swigregister(IFSelect_DispGlobal)
class IFSelect_DispPerCount(IFSelect_Dispatch):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a disppercount with no count (default value 1).

        """
        _IFSelect.IFSelect_DispPerCount_swiginit(self, _IFSelect.new_IFSelect_DispPerCount(*args))

    def Count(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns the count parameter used for splitting.

        """
        return _IFSelect.IFSelect_DispPerCount_Count(self, *args)

    def CountValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the effective value of the count parameter (if count parameter not set or value not positive, returns 1).

        """
        return _IFSelect.IFSelect_DispPerCount_CountValue(self, *args)

    def SetCount(self, *args):
        r"""

        Parameters
        ----------
        count: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a new parameter for count.

        """
        return _IFSelect.IFSelect_DispPerCount_SetCount(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_DispPerCount_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_DispPerCount

# Register IFSelect_DispPerCount in _IFSelect:
_IFSelect.IFSelect_DispPerCount_swigregister(IFSelect_DispPerCount)
class IFSelect_DispPerFiles(IFSelect_Dispatch):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a dispperfiles with no count (default value 1 file).

        """
        _IFSelect.IFSelect_DispPerFiles_swiginit(self, _IFSelect.new_IFSelect_DispPerFiles(*args))

    def Count(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns the count parameter used for splitting.

        """
        return _IFSelect.IFSelect_DispPerFiles_Count(self, *args)

    def CountValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the effective value of the count parameter (if count parameter not set or value not positive, returns 1).

        """
        return _IFSelect.IFSelect_DispPerFiles_CountValue(self, *args)

    def SetCount(self, *args):
        r"""

        Parameters
        ----------
        count: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a new parameter for count.

        """
        return _IFSelect.IFSelect_DispPerFiles_SetCount(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_DispPerFiles_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_DispPerFiles

# Register IFSelect_DispPerFiles in _IFSelect:
_IFSelect.IFSelect_DispPerFiles_swigregister(IFSelect_DispPerFiles)
class IFSelect_DispPerOne(IFSelect_Dispatch):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a dispperone.

        """
        _IFSelect.IFSelect_DispPerOne_swiginit(self, _IFSelect.new_IFSelect_DispPerOne(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_DispPerOne_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_DispPerOne

# Register IFSelect_DispPerOne in _IFSelect:
_IFSelect.IFSelect_DispPerOne_swigregister(IFSelect_DispPerOne)
class IFSelect_DispPerSignature(IFSelect_Dispatch):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a disppersignature with no signcounter (by default, produces only one packet).

        """
        _IFSelect.IFSelect_DispPerSignature_swiginit(self, _IFSelect.new_IFSelect_DispPerSignature(*args))

    def SetSignCounter(self, *args):
        r"""

        Parameters
        ----------
        sign: IFSelect_SignCounter

        Return
        -------
        None

        Description
        -----------
        Sets a signcounter for sort remark: it is set to record lists of entities, not only counts.

        """
        return _IFSelect.IFSelect_DispPerSignature_SetSignCounter(self, *args)

    def SignCounter(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SignCounter>

        Description
        -----------
        Returns the signcounter used for splitting.

        """
        return _IFSelect.IFSelect_DispPerSignature_SignCounter(self, *args)

    def SignName(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the name of the signcounter, which caracterises the sorting criterium for this dispatch.

        """
        return _IFSelect.IFSelect_DispPerSignature_SignName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_DispPerSignature_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_DispPerSignature

# Register IFSelect_DispPerSignature in _IFSelect:
_IFSelect.IFSelect_DispPerSignature_swigregister(IFSelect_DispPerSignature)
class IFSelect_Modifier(IFSelect_GeneralModifier):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Perform(self, *args):
        r"""

        Parameters
        ----------
        ctx: IFSelect_ContextModif
        target: Interface_InterfaceModel
        protocol: Interface_Protocol
        TC: Interface_CopyTool

        Return
        -------
        None

        Description
        -----------
        This deferred method defines the action specific to each class of modifier. it is called by a modelcopier, once the model generated and filled. modelcopier has already checked the criteria (dispatch, model rank, selection) before calling it. //! <ctx> detains information about original data and selection. the result of copying, on which modifications are to be done, is <target>. <tc> allows to run additional copies as required //! in case of error, use methods ccheck from the contextmodif to aknowledge an entity check or a global check with messages.

        """
        return _IFSelect.IFSelect_Modifier_Perform(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_Modifier_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_Modifier

# Register IFSelect_Modifier in _IFSelect:
_IFSelect.IFSelect_Modifier_swigregister(IFSelect_Modifier)
class IFSelect_ParamEditor(IFSelect_Editor):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        nbmax: int (optional, default to 100)
        label: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates a parameditor, empty, with a maximum count of params (default is 100) and a label, by default it will be 'param editor'.

        """
        _IFSelect.IFSelect_ParamEditor_swiginit(self, _IFSelect.new_IFSelect_ParamEditor(*args))

    def AddConstantText(self, *args):
        r"""

        Parameters
        ----------
        val: str
        shortname: str
        completename: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a constant text, it will be read only by default, its long name equates its shortname.

        """
        return _IFSelect.IFSelect_ParamEditor_AddConstantText(self, *args)

    def AddValue(self, *args):
        r"""

        Parameters
        ----------
        val: Interface_TypedValue
        shortname: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a typedvalue by default, its short name equates its complete name, it can be made explicit.

        """
        return _IFSelect.IFSelect_ParamEditor_AddValue(self, *args)

    @staticmethod
    def StaticEditor(*args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfHAsciiString
        label: str (optional, default to )

        Return
        -------
        opencascade::handle<IFSelect_ParamEditor>

        Description
        -----------
        Returns a parameditor to work on the static parameters of which names are listed in <list> null handle if <list> is null or empty.

        """
        return _IFSelect.IFSelect_ParamEditor_StaticEditor(*args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ParamEditor_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ParamEditor

# Register IFSelect_ParamEditor in _IFSelect:
_IFSelect.IFSelect_ParamEditor_swigregister(IFSelect_ParamEditor)
class IFSelect_SelectBase(IFSelect_Selection):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectBase_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectBase

# Register IFSelect_SelectBase in _IFSelect:
_IFSelect.IFSelect_SelectBase_swigregister(IFSelect_SelectBase)
class IFSelect_SelectCombine(IFSelect_Selection):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Add(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        atnum: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Adds a selection to the filling list by default, adds it to the end of the list a positive rank less then nbinputs gives an insertion rank (insertbefore: the new <atnum>th item of the list is <sel>).

        """
        return _IFSelect.IFSelect_SelectCombine_Add(self, *args)

    def Input(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns an input selection, given its rank in the list.

        """
        return _IFSelect.IFSelect_SelectCombine_Input(self, *args)

    def InputRank(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        int

        Description
        -----------
        Returns the rank of an input selection, 0 if not in the list. most generally, its value is meaningless, except for testing the presence of an input selection: - == 0 if <sel> is not an input for <self> - > 0 if <sel> is an input for <self>.

        """
        return _IFSelect.IFSelect_SelectCombine_InputRank(self, *args)

    def NbInputs(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of input selections.

        """
        return _IFSelect.IFSelect_SelectCombine_NbInputs(self, *args)

    def Remove(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Removes an input selection. returns true if done, false, if <sel> is not an input for <self>.

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Removes an input selection, given its rank in the list returns true if done, false if <num> is out of range.

        """
        return _IFSelect.IFSelect_SelectCombine_Remove(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectCombine_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectCombine

# Register IFSelect_SelectCombine in _IFSelect:
_IFSelect.IFSelect_SelectCombine_swigregister(IFSelect_SelectCombine)
class IFSelect_SelectControl(IFSelect_Selection):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def HasSecondInput(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a control input is defined thus, result can be computed differently if there is a control input or if there is none.

        """
        return _IFSelect.IFSelect_SelectControl_HasSecondInput(self, *args)

    def MainInput(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the main input selection.

        """
        return _IFSelect.IFSelect_SelectControl_MainInput(self, *args)

    def SecondInput(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the control input selection, or a null handle.

        """
        return _IFSelect.IFSelect_SelectControl_SecondInput(self, *args)

    def SetMainInput(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Sets a selection to be the main input.

        """
        return _IFSelect.IFSelect_SelectControl_SetMainInput(self, *args)

    def SetSecondInput(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Sets a selection to be the control input.

        """
        return _IFSelect.IFSelect_SelectControl_SetSecondInput(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectControl_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectControl

# Register IFSelect_SelectControl in _IFSelect:
_IFSelect.IFSelect_SelectControl_swigregister(IFSelect_SelectControl)
class IFSelect_SelectDeduct(IFSelect_Selection):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Alternate(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SelectPointed>

        Description
        -----------
        Returns the alternate definition it is returned modifiable, hence an already defined selectpointed can be used but if it was not yet defined, it is created the first time //! it is exploited by inputresult.

        """
        return _IFSelect.IFSelect_SelectDeduct_Alternate(self, *args)

    def HasAlternate(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if an alternate list has been set, i.e.: the alternate definition is present and set.

        """
        return _IFSelect.IFSelect_SelectDeduct_HasAlternate(self, *args)

    def HasInput(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if the input selection is defined, false else.

        """
        return _IFSelect.IFSelect_SelectDeduct_HasInput(self, *args)

    def Input(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the input selection.

        """
        return _IFSelect.IFSelect_SelectDeduct_Input(self, *args)

    def InputResult(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph

        Return
        -------
        Interface_EntityIterator

        Description
        -----------
        Returns the result determined by input selection, as unique if input selection is not defined, returns an empty list. //! if alternate is set, inputresult takes its definition instead of calling the input selection, then clears it.

        """
        return _IFSelect.IFSelect_SelectDeduct_InputResult(self, *args)

    def SetInput(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Defines or changes the input selection.

        """
        return _IFSelect.IFSelect_SelectDeduct_SetInput(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectDeduct_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectDeduct

# Register IFSelect_SelectDeduct in _IFSelect:
_IFSelect.IFSelect_SelectDeduct_swigregister(IFSelect_SelectDeduct)
class IFSelect_SessionPilot(IFSelect_Activator):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        prompt: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates an empty sessionpilot, with a prompt which will be displayed on querying commands. if not precised (''), this prompt is set to 'test-xstep>'.

        """
        _IFSelect.IFSelect_SessionPilot_swiginit(self, _IFSelect.new_IFSelect_SessionPilot(*args))

    def Arg(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        str

        Description
        -----------
        Returns a word given its rank, as a cstring. as for word, begins at 0 (the command name), etc...

        """
        return _IFSelect.IFSelect_SessionPilot_Arg(self, *args)

    def Clear(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears the recorded information (commands, objects).

        """
        return _IFSelect.IFSelect_SessionPilot_Clear(self, *args)

    def Command(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a recorded command, given its rank (from 1).

        """
        return _IFSelect.IFSelect_SessionPilot_Command(self, *args)

    def CommandLine(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the command line to be interpreted.

        """
        return _IFSelect.IFSelect_SessionPilot_CommandLine(self, *args)

    def CommandPart(self, *args):
        r"""

        Parameters
        ----------
        numarg: int (optional, default to 0)

        Return
        -------
        str

        Description
        -----------
        Returns the part of the command line which begins at argument <numarg> between 0 and nbwords-1 (by default, all the line) empty string if out of range.

        """
        return _IFSelect.IFSelect_SessionPilot_CommandPart(self, *args)

    def Execute(self, *args):
        r"""

        Parameters
        ----------
        command: str

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Sets the command then tries to execute it. return value: same as for perform.

        """
        return _IFSelect.IFSelect_SessionPilot_Execute(self, *args)

    def ExecuteAlias(self, *args):
        r"""

        Parameters
        ----------
        aliasname: str

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Executes the commands, except that the command name (word 0) is aliased. the rest of the command line is unchanged if <alias> is empty, executes with no change //! error status is returned if the alias is unknown as command.

        """
        return _IFSelect.IFSelect_SessionPilot_ExecuteAlias(self, *args)

    def ExecuteCounter(self, *args):
        r"""

        Parameters
        ----------
        counter: IFSelect_SignCounter
        numword: int
        mode: IFSelect_PrintCount (optional, default to IFSelect_CountByItem)

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Executes a counter in a general way if <numword> is greater than count of command words, it counts all the model. else it considers the word <numword> as the identifier of a selection <mode> gives the mode of printing results, default is countbyitem.

        """
        return _IFSelect.IFSelect_SessionPilot_ExecuteCounter(self, *args)

    def Library(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_WorkLibrary>

        Description
        -----------
        Returns the worklibrary (null if not set). worklibrary is used to read and write files, according to the norm.

        """
        return _IFSelect.IFSelect_SessionPilot_Library(self, *args)

    def NbCommands(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of recorded commands.

        """
        return _IFSelect.IFSelect_SessionPilot_NbCommands(self, *args)

    def NbWords(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of words of the command line, separated by blanks: 0 if empty, one if a command without args, else it gives the count of args minus one. warning: limited to 10 (command title + 9 args).

        """
        return _IFSelect.IFSelect_SessionPilot_NbWords(self, *args)

    def Number(self, *args):
        r"""

        Parameters
        ----------
        val: str

        Return
        -------
        int

        Description
        -----------
        Interprets a string value as an entity number: if it gives an integer, returns its value else, considers it as entitylabel (preferably case sensitive) in case of failure, returns 0.

        """
        return _IFSelect.IFSelect_SessionPilot_Number(self, *args)

    def Perform(self, *args):
        r"""
        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Executes the command, itself (for built-in commands, which have priority) or by using the list of activators. the value returned is: retvoid if nothing done (void command) retdone if execution ok, retend if end of session, reterror if command unknown or incorrect, retfail if error on execution if execution is ok and recordmode is set, this command line is recorded to the list (see below).

        """
        return _IFSelect.IFSelect_SessionPilot_Perform(self, *args)

    def ReadScript(self, *args):
        r"""

        Parameters
        ----------
        file: str (optional, default to )

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Reads commands from a script file, named <file>. by default (file = ''), reads from standard input with a prompt else (reading from a file), the read commands are displayed onto standard output. allows nested reads. reading is stopped either by command x or exit, or by reaching end of file return value follows the rules of do: retend for normal end, retfail if script could not be opened.

        """
        return _IFSelect.IFSelect_SessionPilot_ReadScript(self, *args)

    def RecordItem(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        IFSelect_ReturnStatus

        Description
        -----------
        Allows to associate a transient value with the last execution as a partial result returns retdone if item is not null, retfail if item is null remark: it is nullified for each perform.

        """
        return _IFSelect.IFSelect_SessionPilot_RecordItem(self, *args)

    def RecordMode(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns the record mode for commands. default is false.

        """
        return _IFSelect.IFSelect_SessionPilot_RecordMode(self, *args)

    def RecordedItem(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns the transient object which was recorded with the current line command. if none was, returns a null handle.

        """
        return _IFSelect.IFSelect_SessionPilot_RecordedItem(self, *args)

    def RemoveWord(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Removes a word given its rank. returns true if done, false if <num> is out of range.

        """
        return _IFSelect.IFSelect_SessionPilot_RemoveWord(self, *args)

    def Session(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_WorkSession>

        Description
        -----------
        Returns the worksession which is worked on.

        """
        return _IFSelect.IFSelect_SessionPilot_Session(self, *args)

    def SetCommandLine(self, *args):
        r"""

        Parameters
        ----------
        command: str

        Return
        -------
        None

        Description
        -----------
        Sets the value of the command line to be interpreted also prepares the interpretation (splitting by blanks).

        """
        return _IFSelect.IFSelect_SessionPilot_SetCommandLine(self, *args)

    def SetLibrary(self, *args):
        r"""

        Parameters
        ----------
        WL: IFSelect_WorkLibrary

        Return
        -------
        None

        Description
        -----------
        Sets a worklibrary.

        """
        return _IFSelect.IFSelect_SessionPilot_SetLibrary(self, *args)

    def SetRecordMode(self, *args):
        r"""

        Parameters
        ----------
        mode: bool

        Return
        -------
        None

        Description
        -----------
        Changes the recordmode.

        """
        return _IFSelect.IFSelect_SessionPilot_SetRecordMode(self, *args)

    def SetSession(self, *args):
        r"""

        Parameters
        ----------
        WS: IFSelect_WorkSession

        Return
        -------
        None

        Description
        -----------
        Sets a worksession to be worked on.

        """
        return _IFSelect.IFSelect_SessionPilot_SetSession(self, *args)

    def Word(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a word given its rank in the command line. begins at 0 which is the command title, 1 is the 1st arg., etc...

        """
        return _IFSelect.IFSelect_SessionPilot_Word(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SessionPilot_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SessionPilot

# Register IFSelect_SessionPilot in _IFSelect:
_IFSelect.IFSelect_SessionPilot_swigregister(IFSelect_SessionPilot)
class IFSelect_SignCategory(IFSelect_Signature):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a signcategory.

        """
        _IFSelect.IFSelect_SignCategory_swiginit(self, _IFSelect.new_IFSelect_SignCategory(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignCategory_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignCategory

# Register IFSelect_SignCategory in _IFSelect:
_IFSelect.IFSelect_SignCategory_swigregister(IFSelect_SignCategory)
class IFSelect_SignCounter(IFSelect_SignatureList):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        withmap: bool (optional, default to Standard_True)
        withlist: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Creates a signcounter, without proper signature if <withmap> is true (default), added entities are counted only if they are not yet recorded in the map map control can be set off if the input guarantees uniqueness of data <withlist> is transmitted to signaturelist (option to list entities, not only to count them).

        Parameters
        ----------
        matcher: IFSelect_Signature
        withmap: bool (optional, default to Standard_True)
        withlist: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Creates a signcounter, with a predefined signature other arguments as for create without signature.

        """
        _IFSelect.IFSelect_SignCounter_swiginit(self, _IFSelect.new_IFSelect_SignCounter(*args))

    def AddEntity(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Adds an entity by considering its signature, which is given by call to method addsign returns true if added, false if already in the map (and map control status set).

        """
        return _IFSelect.IFSelect_SignCounter_AddEntity(self, *args)

    def AddFromSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection
        G: Interface_Graph

        Return
        -------
        None

        Description
        -----------
        Adds the result determined by a selection from a graph remark: does not impact at all data from setselection & co.

        """
        return _IFSelect.IFSelect_SignCounter_AddFromSelection(self, *args)

    def AddList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Adds a list of entities by adding each of the items.

        """
        return _IFSelect.IFSelect_SignCounter_AddList(self, *args)

    def AddModel(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Adds all the entities contained in a model.

        """
        return _IFSelect.IFSelect_SignCounter_AddModel(self, *args)

    def AddSign(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        Adds an entity (already filtered by map) with its signature. this signature can be computed with the containing model. its value is provided by the object signature given at start, if no signature is defined, it does nothing. //! can be redefined (in this case, see also sign).

        """
        return _IFSelect.IFSelect_SignCounter_AddSign(self, *args)

    def AddWithGraph(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient
        graph: Interface_Graph

        Return
        -------
        None

        Description
        -----------
        Adds a list of entities in the context given by the graph default just call basic addlist can be redefined to get a signature computed with the graph.

        """
        return _IFSelect.IFSelect_SignCounter_AddWithGraph(self, *args)

    def ComputeSelected(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        forced: bool (optional, default to Standard_False)

        Return
        -------
        bool

        Description
        -----------
        Computes from the selection result, if selection is active (mode 2). if selection is not defined (mode 0) or is inhibited (mode 1) does nothing. returns true if computation is done (or optimised), false else this method is called by computecounter from worksession //! if <forced> is true, recomputes systematically else (d), if the counter was not cleared and if the former computed result started from the same total size of graph and same count of selected entities: computation is not redone unless <forced> is given as true.

        """
        return _IFSelect.IFSelect_SignCounter_ComputeSelected(self, *args)

    def ComputedSign(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        G: Interface_Graph

        Return
        -------
        str

        Description
        -----------
        Applies addwithgraph on one entity, and returns the signature value which has been recorded to do this, add is called with signonly mode true during the call, the returned value is lastvalue.

        """
        return _IFSelect.IFSelect_SignCounter_ComputedSign(self, *args)

    def SelMode(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the mode of working with the selection.

        """
        return _IFSelect.IFSelect_SignCounter_SelMode(self, *args)

    def Selection(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the selection, or a null handle.

        """
        return _IFSelect.IFSelect_SignCounter_Selection(self, *args)

    def SetMap(self, *args):
        r"""

        Parameters
        ----------
        withmap: bool

        Return
        -------
        None

        Description
        -----------
        Changes the control status. the map is not cleared, simply its use changes.

        """
        return _IFSelect.IFSelect_SignCounter_SetMap(self, *args)

    def SetSelMode(self, *args):
        r"""

        Parameters
        ----------
        selmode: int

        Return
        -------
        None

        Description
        -----------
        Changes the mode of working with the selection: -1 just clears optimisation data and nothing else 0 clears it 1 inhibits it for computing (but no clearing) 2 sets it active for computing default at creation is 0, after setselection (not null) is 2.

        """
        return _IFSelect.IFSelect_SignCounter_SetSelMode(self, *args)

    def SetSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Sets a selection as input: this causes content to be cleared then the selection to be ready to compute (but not immediately).

        """
        return _IFSelect.IFSelect_SignCounter_SetSelection(self, *args)

    def Sign(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Determines and returns the value of the signature for an entity as an hasciistring. this method works exactly as addsign, which is optimized //! can be redefined, accorded with addsign.

        """
        return _IFSelect.IFSelect_SignCounter_Sign(self, *args)

    def Signature(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns the signature used to count entities. it can be null.

        """
        return _IFSelect.IFSelect_SignCounter_Signature(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignCounter_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignCounter

# Register IFSelect_SignCounter in _IFSelect:
_IFSelect.IFSelect_SignCounter_swigregister(IFSelect_SignCounter)
class IFSelect_SignMultiple(IFSelect_Signature):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        name: str

        Return
        -------
        None

        Description
        -----------
        Creates an empty signmultiple with a name this name should take expected tabulations into account.

        """
        _IFSelect.IFSelect_SignMultiple_swiginit(self, _IFSelect.new_IFSelect_SignMultiple(*args))

    def Add(self, *args):
        r"""

        Parameters
        ----------
        subsign: IFSelect_Signature
        width: int (optional, default to 0)
        maxi: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Adds a signature. width, if given, gives the tabulation if <maxi> is true, it is a forced tabulation (overlength is replaced by a final dot) if <maxi> is false, just 3 blanks follow an overlength.

        """
        return _IFSelect.IFSelect_SignMultiple_Add(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignMultiple_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignMultiple

# Register IFSelect_SignMultiple in _IFSelect:
_IFSelect.IFSelect_SignMultiple_swigregister(IFSelect_SignMultiple)
class IFSelect_SignType(IFSelect_Signature):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        nopk: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Returns a signtype <nopk> false (d): complete dynamic type (name = dynamic type) <nopk> true: class type without pk (name = class type).

        """
        _IFSelect.IFSelect_SignType_swiginit(self, _IFSelect.new_IFSelect_SignType(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignType_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignType

# Register IFSelect_SignType in _IFSelect:
_IFSelect.IFSelect_SignType_swigregister(IFSelect_SignType)
class IFSelect_SignValidity(IFSelect_Signature):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a signvalidity.

        """
        _IFSelect.IFSelect_SignValidity_swiginit(self, _IFSelect.new_IFSelect_SignValidity(*args))

    @staticmethod
    def CVal(*args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        str

        Description
        -----------
        Returns the signature for a transient object, as a validity deducted from data (reports) stored in the model. class method, can be called by any one.

        """
        return _IFSelect.IFSelect_SignValidity_CVal(*args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignValidity_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignValidity

# Register IFSelect_SignValidity in _IFSelect:
_IFSelect.IFSelect_SignValidity_swigregister(IFSelect_SignValidity)
class IFSelect_TransformStandard(IFSelect_Transformer):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a transformstandard, option standardcopy, no modifier.

        """
        _IFSelect.IFSelect_TransformStandard_swiginit(self, _IFSelect.new_IFSelect_TransformStandard(*args))

    def AddModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_Modifier
        atnum: int (optional, default to 0)

        Return
        -------
        bool

        Description
        -----------
        Adds a modifier to the list: - <atnum> = 0 (default): at the end of the list - <atnum> > 0: at rank <atnum> returns true if done, false if <atnum> is out of range.

        """
        return _IFSelect.IFSelect_TransformStandard_AddModifier(self, *args)

    def ApplyModifiers(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        protocol: Interface_Protocol
        TC: Interface_CopyTool
        checks: Interface_CheckIterator
        newmod: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Applies the modifiers sequentially. for each one, prepares required data (if a selection is associated as a filter). for the option onthespot, it determines if the graph may be changed and updates <newmod> if required if a modifier causes an error (check 'hasfailed'), applymodifier stops: the following modifiers are ignored.

        """
        return _IFSelect.IFSelect_TransformStandard_ApplyModifiers(self, *args)

    def Copy(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        TC: Interface_CopyTool
        newmod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        This the first operation. it calls standardcopy or onthespot according the option.

        """
        return _IFSelect.IFSelect_TransformStandard_Copy(self, *args)

    def CopyOption(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns the copy option.

        """
        return _IFSelect.IFSelect_TransformStandard_CopyOption(self, *args)

    def Modifier(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_Modifier>

        Description
        -----------
        Returns a modifier given its rank in the list.

        """
        return _IFSelect.IFSelect_TransformStandard_Modifier(self, *args)

    def ModifierRank(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_Modifier

        Return
        -------
        int

        Description
        -----------
        Returns the rank of a modifier in the list, 0 if unknown.

        """
        return _IFSelect.IFSelect_TransformStandard_ModifierRank(self, *args)

    def NbModifiers(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of recorded modifiers.

        """
        return _IFSelect.IFSelect_TransformStandard_NbModifiers(self, *args)

    def OnTheSpot(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        TC: Interface_CopyTool
        newmod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        This is the onthespot action: each entity is bound with ... itself. the produced model is the same as the starting one.

        """
        return _IFSelect.IFSelect_TransformStandard_OnTheSpot(self, *args)

    def RemoveModifier(self, *args):
        r"""

        Parameters
        ----------
        modif: IFSelect_Modifier

        Return
        -------
        bool

        Description
        -----------
        Removes a modifier from the list returns true if done, false if <modif> not in the list.

        Parameters
        ----------
        num: int

        Return
        -------
        bool

        Description
        -----------
        Removes a modifier from the list, given its rank returns true if done, false if <num> is out of range.

        """
        return _IFSelect.IFSelect_TransformStandard_RemoveModifier(self, *args)

    def Selection(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Selection>

        Description
        -----------
        Returns the selection, null by default.

        """
        return _IFSelect.IFSelect_TransformStandard_Selection(self, *args)

    def SetCopyOption(self, *args):
        r"""

        Parameters
        ----------
        option: bool

        Return
        -------
        None

        Description
        -----------
        Sets the copy option to a new value: - true for standardcopy - false for onthespot.

        """
        return _IFSelect.IFSelect_TransformStandard_SetCopyOption(self, *args)

    def SetSelection(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_Selection

        Return
        -------
        None

        Description
        -----------
        Sets a selection (or unsets if null) this selection then defines the list of entities on which the modifiers will be applied if it is set, it has priority on selections of modifiers else, for each modifier its selection is evaluated by default, all the model is taken.

        """
        return _IFSelect.IFSelect_TransformStandard_SetSelection(self, *args)

    def StandardCopy(self, *args):
        r"""

        Parameters
        ----------
        G: Interface_Graph
        TC: Interface_CopyTool
        newmod: Interface_InterfaceModel

        Return
        -------
        None

        Description
        -----------
        This is the standard action of copy: its takes into account only the remaining entities (noted by graph status positive) and their proper dependances of course. produces a new model.

        """
        return _IFSelect.IFSelect_TransformStandard_StandardCopy(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_TransformStandard_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_TransformStandard

# Register IFSelect_TransformStandard in _IFSelect:
_IFSelect.IFSelect_TransformStandard_swigregister(IFSelect_TransformStandard)
class IFSelect_GraphCounter(IFSelect_SignCounter):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        withmap: bool (optional, default to Standard_True)
        withlist: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        Creates a graphcounter, without applied selection.

        """
        _IFSelect.IFSelect_GraphCounter_swiginit(self, _IFSelect.new_IFSelect_GraphCounter(*args))

    def Applied(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SelectDeduct>

        Description
        -----------
        Returns the applied selection.

        """
        return _IFSelect.IFSelect_GraphCounter_Applied(self, *args)

    def SetApplied(self, *args):
        r"""

        Parameters
        ----------
        sel: IFSelect_SelectDeduct

        Return
        -------
        None

        Description
        -----------
        Sets a new applied selection.

        """
        return _IFSelect.IFSelect_GraphCounter_SetApplied(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_GraphCounter_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_GraphCounter

# Register IFSelect_GraphCounter in _IFSelect:
_IFSelect.IFSelect_GraphCounter_swigregister(IFSelect_GraphCounter)
class IFSelect_ModifEditForm(IFSelect_Modifier):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        editform: IFSelect_EditForm

        Return
        -------
        None

        Description
        -----------
        Creates a modifeditform. it may not change the graph.

        """
        _IFSelect.IFSelect_ModifEditForm_swiginit(self, _IFSelect.new_IFSelect_ModifEditForm(*args))

    def EditForm(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_EditForm>

        Description
        -----------
        Returns the editform.

        """
        return _IFSelect.IFSelect_ModifEditForm_EditForm(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ModifEditForm_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ModifEditForm

# Register IFSelect_ModifEditForm in _IFSelect:
_IFSelect.IFSelect_ModifEditForm_swigregister(IFSelect_ModifEditForm)
class IFSelect_ModifReorder(IFSelect_Modifier):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        rootlast: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Creates a modifreorder. it may change the graph (it does !) if <rootlast> is true (d), roots are set at the end of packets else, they are set at beginning (as done by addwithrefs).

        """
        _IFSelect.IFSelect_ModifReorder_swiginit(self, _IFSelect.new_IFSelect_ModifReorder(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_ModifReorder_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_ModifReorder

# Register IFSelect_ModifReorder in _IFSelect:
_IFSelect.IFSelect_ModifReorder_swigregister(IFSelect_ModifReorder)
class IFSelect_SelectAnyList(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def FillResult(self, *args):
        r"""

        Parameters
        ----------
        n1: int
        n2: int
        ent: Standard_Transient
        res: Interface_EntityIterator

        Return
        -------
        None

        Description
        -----------
        Puts into <res>, the sub-entities of the list, from n1 to n2 included. remark that adequation with entity's type and length of list has already been made at this stage called by rootresult.

        """
        return _IFSelect.IFSelect_SelectAnyList_FillResult(self, *args)

    def HasLower(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a lower limit is defined.

        """
        return _IFSelect.IFSelect_SelectAnyList_HasLower(self, *args)

    def HasUpper(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a lower limit is defined.

        """
        return _IFSelect.IFSelect_SelectAnyList_HasUpper(self, *args)

    def KeepInputEntity(self, *args):
        r"""

        Parameters
        ----------
        iter: Interface_EntityIterator

        Return
        -------
        None

        Description
        -----------
        Keeps input entity, as having required type. it works by keeping in <iter>, only suitable entities (selecttype can be used). called by rootresult (which waits for one entity max).

        """
        return _IFSelect.IFSelect_SelectAnyList_KeepInputEntity(self, *args)

    def ListLabel(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the specific label for the list, which is included as a part of label.

        """
        return _IFSelect.IFSelect_SelectAnyList_ListLabel(self, *args)

    def Lower(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns lower limit (if there is; else, value is senseless).

        """
        return _IFSelect.IFSelect_SelectAnyList_Lower(self, *args)

    def LowerValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns integer value of lower limit (0 if none).

        """
        return _IFSelect.IFSelect_SelectAnyList_LowerValue(self, *args)

    def NbItems(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Returns count of items in the list in the entity <ent> if <ent> has not required type, returned value must be zero.

        """
        return _IFSelect.IFSelect_SelectAnyList_NbItems(self, *args)

    def SetFrom(self, *args):
        r"""

        Parameters
        ----------
        rankfrom: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a lower limit but no upper limit.

        """
        return _IFSelect.IFSelect_SelectAnyList_SetFrom(self, *args)

    def SetOne(self, *args):
        r"""

        Parameters
        ----------
        rank: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a unique number (only one entity will be sorted as true).

        """
        return _IFSelect.IFSelect_SelectAnyList_SetOne(self, *args)

    def SetRange(self, *args):
        r"""

        Parameters
        ----------
        rankfrom: IFSelect_IntParam
        rankto: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a range for numbers, with a lower and a upper limits.

        """
        return _IFSelect.IFSelect_SelectAnyList_SetRange(self, *args)

    def SetUntil(self, *args):
        r"""

        Parameters
        ----------
        rankto: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets an upper limit but no lower limit (equivalent to lower 1).

        """
        return _IFSelect.IFSelect_SelectAnyList_SetUntil(self, *args)

    def Upper(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns upper limit (if there is; else, value is senseless).

        """
        return _IFSelect.IFSelect_SelectAnyList_Upper(self, *args)

    def UpperValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns integer value of upper limit (0 if none).

        """
        return _IFSelect.IFSelect_SelectAnyList_UpperValue(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectAnyList_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectAnyList

# Register IFSelect_SelectAnyList in _IFSelect:
_IFSelect.IFSelect_SelectAnyList_swigregister(IFSelect_SelectAnyList)
class IFSelect_SelectDiff(IFSelect_SelectControl):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty selectdiff.

        """
        _IFSelect.IFSelect_SelectDiff_swiginit(self, _IFSelect.new_IFSelect_SelectDiff(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectDiff_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectDiff

# Register IFSelect_SelectDiff in _IFSelect:
_IFSelect.IFSelect_SelectDiff_swigregister(IFSelect_SelectDiff)
class IFSelect_SelectEntityNumber(IFSelect_SelectBase):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectentitynumber, initially with no specified number.

        """
        _IFSelect.IFSelect_SelectEntityNumber_swiginit(self, _IFSelect.new_IFSelect_SelectEntityNumber(*args))

    def Number(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns specified number (as a parameter).

        """
        return _IFSelect.IFSelect_SelectEntityNumber_Number(self, *args)

    def SetNumber(self, *args):
        r"""

        Parameters
        ----------
        num: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets entity number to be taken (initially, none is set: 0).

        """
        return _IFSelect.IFSelect_SelectEntityNumber_SetNumber(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectEntityNumber_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectEntityNumber

# Register IFSelect_SelectEntityNumber in _IFSelect:
_IFSelect.IFSelect_SelectEntityNumber_swigregister(IFSelect_SelectEntityNumber)
class IFSelect_SelectExplore(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def Explore(self, *args):
        r"""

        Parameters
        ----------
        level: int
        ent: Standard_Transient
        G: Interface_Graph
        explored: Interface_EntityIterator

        Return
        -------
        bool

        Description
        -----------
        Analyses and, if required, explores an entity, as follows: the explored list starts as empty, it has to be filled by this method. if it returns false, <ent> is rejected for result (this is to be used only as safety) if it returns true and <explored> remains empty, <ent> is taken itself for result, not explored if it returns true and <explored> is not empty, the content of this list is considered: if maximum level is attained, it is taken for result else (or no max), each of its entity will be itself explored.

        """
        return _IFSelect.IFSelect_SelectExplore_Explore(self, *args)

    def ExploreLabel(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a text defining the way of exploration.

        """
        return _IFSelect.IFSelect_SelectExplore_ExploreLabel(self, *args)

    def Level(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the required exploring level.

        """
        return _IFSelect.IFSelect_SelectExplore_Level(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectExplore_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectExplore

# Register IFSelect_SelectExplore in _IFSelect:
_IFSelect.IFSelect_SelectExplore_swigregister(IFSelect_SelectExplore)
class IFSelect_SelectExtract(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def ExtractLabel(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns a text defining the criterium for extraction.

        """
        return _IFSelect.IFSelect_SelectExtract_ExtractLabel(self, *args)

    def IsDirect(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if sort criterium is direct, false if reverse.

        """
        return _IFSelect.IFSelect_SelectExtract_IsDirect(self, *args)

    def SetDirect(self, *args):
        r"""

        Parameters
        ----------
        direct: bool

        Return
        -------
        None

        Description
        -----------
        Sets sort criterium sense to a new value (true: direct , false: reverse).

        """
        return _IFSelect.IFSelect_SelectExtract_SetDirect(self, *args)

    def Sort(self, *args):
        r"""

        Parameters
        ----------
        rank: int
        ent: Standard_Transient
        model: Interface_InterfaceModel

        Return
        -------
        bool

        Description
        -----------
        Returns true for an entity if it satisfies the sort criterium it receives: - <rank>, the rank of the entity in the iteration, - <ent> , the entity itself, and - <model>, the starting model hence, the entity to check is 'model->value(num)' (but an interfacemodel allows other checks) this method is specific to each class of selectextract.

        """
        return _IFSelect.IFSelect_SelectExtract_Sort(self, *args)

    def SortInGraph(self, *args):
        r"""

        Parameters
        ----------
        rank: int
        ent: Standard_Transient
        G: Interface_Graph

        Return
        -------
        bool

        Description
        -----------
        Works as sort but works on the graph default directly calls sort, but it can be redefined if sortingraph is redefined, sort should be defined even if not called (to avoid deferred methods in a final class).

        """
        return _IFSelect.IFSelect_SelectExtract_SortInGraph(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectExtract_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectExtract

# Register IFSelect_SelectExtract in _IFSelect:
_IFSelect.IFSelect_SelectExtract_swigregister(IFSelect_SelectExtract)
class IFSelect_SelectIntersection(IFSelect_SelectCombine):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty selectintersection.

        """
        _IFSelect.IFSelect_SelectIntersection_swiginit(self, _IFSelect.new_IFSelect_SelectIntersection(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectIntersection_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectIntersection

# Register IFSelect_SelectIntersection in _IFSelect:
_IFSelect.IFSelect_SelectIntersection_swigregister(IFSelect_SelectIntersection)
class IFSelect_SelectModelEntities(IFSelect_SelectBase):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectmodelroot.

        """
        _IFSelect.IFSelect_SelectModelEntities_swiginit(self, _IFSelect.new_IFSelect_SelectModelEntities(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectModelEntities_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectModelEntities

# Register IFSelect_SelectModelEntities in _IFSelect:
_IFSelect.IFSelect_SelectModelEntities_swigregister(IFSelect_SelectModelEntities)
class IFSelect_SelectModelRoots(IFSelect_SelectBase):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectmodelroot.

        """
        _IFSelect.IFSelect_SelectModelRoots_swiginit(self, _IFSelect.new_IFSelect_SelectModelRoots(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectModelRoots_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectModelRoots

# Register IFSelect_SelectModelRoots in _IFSelect:
_IFSelect.IFSelect_SelectModelRoots_swigregister(IFSelect_SelectModelRoots)
class IFSelect_SelectPointed(IFSelect_SelectBase):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectpointed.

        """
        _IFSelect.IFSelect_SelectPointed_swiginit(self, _IFSelect.new_IFSelect_SelectPointed(*args))

    def Add(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Adds an item. returns true if done, false if <item> is already in the selected list.

        """
        return _IFSelect.IFSelect_SelectPointed_Add(self, *args)

    def AddList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient

        Return
        -------
        bool

        Description
        -----------
        Adds all the items defined in a list. returns true if at least one item has been added, false else.

        """
        return _IFSelect.IFSelect_SelectPointed_AddList(self, *args)

    def Clear(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears the list of selected items also says the list is unset all add* methods and setlist say the list is set.

        """
        return _IFSelect.IFSelect_SelectPointed_Clear(self, *args)

    def IsSet(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Tells if the list has been set. even if empty.

        """
        return _IFSelect.IFSelect_SelectPointed_IsSet(self, *args)

    def Item(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns an item given its rank, or a null handle.

        """
        return _IFSelect.IFSelect_SelectPointed_Item(self, *args)

    def NbItems(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of selected items.

        """
        return _IFSelect.IFSelect_SelectPointed_NbItems(self, *args)

    def Rank(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        int

        Description
        -----------
        Returns the rank of an item in the selected list, or 0.

        """
        return _IFSelect.IFSelect_SelectPointed_Rank(self, *args)

    def Remove(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Removes an item. returns true if done, false if <item> was not in the selected list.

        """
        return _IFSelect.IFSelect_SelectPointed_Remove(self, *args)

    def RemoveList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient

        Return
        -------
        bool

        Description
        -----------
        Removes all the items defined in a list. returns true if at least one item has been removed, false else.

        """
        return _IFSelect.IFSelect_SelectPointed_RemoveList(self, *args)

    def SetEntity(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        As setlist but with only one entity if <ent> is null, the list is said as being set but is empty.

        """
        return _IFSelect.IFSelect_SelectPointed_SetEntity(self, *args)

    def SetList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient

        Return
        -------
        None

        Description
        -----------
        Sets a given list to define the list of selected items <list> can be empty or null: in this case, the list is said as being set, but it is empty //! to use it as an alternate input, one shot: - setlist or setentity to define the input list - rootresult to get it - then clear to drop it.

        """
        return _IFSelect.IFSelect_SelectPointed_SetList(self, *args)

    def Toggle(self, *args):
        r"""

        Parameters
        ----------
        item: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Toggles status of an item: adds it if not pointed or removes it if already pointed. returns the new status (pointed or not).

        """
        return _IFSelect.IFSelect_SelectPointed_Toggle(self, *args)

    def ToggleList(self, *args):
        r"""

        Parameters
        ----------
        list: TColStd_HSequenceOfTransient

        Return
        -------
        bool

        Description
        -----------
        Toggles status of all the items defined in a list: adds it if not pointed or removes it if already pointed.

        """
        return _IFSelect.IFSelect_SelectPointed_ToggleList(self, *args)

    def Update(self, *args):
        r"""

        Parameters
        ----------
        control: Interface_CopyControl

        Return
        -------
        None

        Description
        -----------
        Rebuilds the selected list. any selected entity which has a bound result is replaced by this result, else it is removed.

        Parameters
        ----------
        trf: IFSelect_Transformer

        Return
        -------
        None

        Description
        -----------
        Rebuilds the selected list, by querying a transformer (same principle as from a copycontrol).

        """
        return _IFSelect.IFSelect_SelectPointed_Update(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectPointed_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectPointed

# Register IFSelect_SelectPointed in _IFSelect:
_IFSelect.IFSelect_SelectPointed_swigregister(IFSelect_SelectPointed)
class IFSelect_SelectShared(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectshared;.

        """
        _IFSelect.IFSelect_SelectShared_swiginit(self, _IFSelect.new_IFSelect_SelectShared(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectShared_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectShared

# Register IFSelect_SelectShared in _IFSelect:
_IFSelect.IFSelect_SelectShared_swigregister(IFSelect_SelectShared)
class IFSelect_SelectSharing(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectsharing;.

        """
        _IFSelect.IFSelect_SelectSharing_swiginit(self, _IFSelect.new_IFSelect_SelectSharing(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSharing_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSharing

# Register IFSelect_SelectSharing in _IFSelect:
_IFSelect.IFSelect_SelectSharing_swigregister(IFSelect_SelectSharing)
class IFSelect_SelectSuite(IFSelect_SelectDeduct):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty selectsuite.

        """
        _IFSelect.IFSelect_SelectSuite_swiginit(self, _IFSelect.new_IFSelect_SelectSuite(*args))

    def AddInput(self, *args):
        r"""

        Parameters
        ----------
        item: IFSelect_Selection

        Return
        -------
        bool

        Description
        -----------
        Adds an input selection. i.e.: if <item> is a selectdeduct, adds it as previous, not as input else, sets it as input returns true when done returns false and refuses to work if input is already defined.

        """
        return _IFSelect.IFSelect_SelectSuite_AddInput(self, *args)

    def AddNext(self, *args):
        r"""

        Parameters
        ----------
        item: IFSelect_SelectDeduct

        Return
        -------
        None

        Description
        -----------
        Adds a new last item (prepends to the list) if <item> is null, does nothing.

        """
        return _IFSelect.IFSelect_SelectSuite_AddNext(self, *args)

    def AddPrevious(self, *args):
        r"""

        Parameters
        ----------
        item: IFSelect_SelectDeduct

        Return
        -------
        None

        Description
        -----------
        Adds a new first item (prepends to the list). the input is not touched if <item> is null, does nothing.

        """
        return _IFSelect.IFSelect_SelectSuite_AddPrevious(self, *args)

    def Item(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<IFSelect_SelectDeduct>

        Description
        -----------
        Returns an item from its rank in the list (the input is always apart).

        """
        return _IFSelect.IFSelect_SelectSuite_Item(self, *args)

    def NbItems(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the count of items.

        """
        return _IFSelect.IFSelect_SelectSuite_NbItems(self, *args)

    def SetLabel(self, *args):
        r"""

        Parameters
        ----------
        lab: str

        Return
        -------
        None

        Description
        -----------
        Sets a value for the label.

        """
        return _IFSelect.IFSelect_SelectSuite_SetLabel(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSuite_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSuite

# Register IFSelect_SelectSuite in _IFSelect:
_IFSelect.IFSelect_SelectSuite_swigregister(IFSelect_SelectSuite)
class IFSelect_SelectUnion(IFSelect_SelectCombine):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates an empty selectunion.

        """
        _IFSelect.IFSelect_SelectUnion_swiginit(self, _IFSelect.new_IFSelect_SelectUnion(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectUnion_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectUnion

# Register IFSelect_SelectUnion in _IFSelect:
_IFSelect.IFSelect_SelectUnion_swigregister(IFSelect_SelectUnion)
class IFSelect_SignAncestor(IFSelect_SignType):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        nopk: bool (optional, default to Standard_False)

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        _IFSelect.IFSelect_SignAncestor_swiginit(self, _IFSelect.new_IFSelect_SignAncestor(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SignAncestor_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SignAncestor

# Register IFSelect_SignAncestor in _IFSelect:
_IFSelect.IFSelect_SignAncestor_swigregister(IFSelect_SignAncestor)
class IFSelect_SelectAnyType(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def TypeForMatch(self, *args):
        r"""
        Return
        -------
        opencascade::handle<Standard_Type>

        Description
        -----------
        Returns the type which has to be matched for select.

        """
        return _IFSelect.IFSelect_SelectAnyType_TypeForMatch(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectAnyType_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectAnyType

# Register IFSelect_SelectAnyType in _IFSelect:
_IFSelect.IFSelect_SelectAnyType_swigregister(IFSelect_SelectAnyType)
class IFSelect_SelectErrorEntities(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selecterrorentities.

        """
        _IFSelect.IFSelect_SelectErrorEntities_swiginit(self, _IFSelect.new_IFSelect_SelectErrorEntities(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectErrorEntities_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectErrorEntities

# Register IFSelect_SelectErrorEntities in _IFSelect:
_IFSelect.IFSelect_SelectErrorEntities_swigregister(IFSelect_SelectErrorEntities)
class IFSelect_SelectFlag(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        flagname: str

        Return
        -------
        None

        Description
        -----------
        Creates a select flag, to query a flag designated by its name.

        """
        _IFSelect.IFSelect_SelectFlag_swiginit(self, _IFSelect.new_IFSelect_SelectFlag(*args))

    def FlagName(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns the name of the flag.

        """
        return _IFSelect.IFSelect_SelectFlag_FlagName(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectFlag_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectFlag

# Register IFSelect_SelectFlag in _IFSelect:
_IFSelect.IFSelect_SelectFlag_swigregister(IFSelect_SelectFlag)
class IFSelect_SelectInList(IFSelect_SelectAnyList):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    def ListedEntity(self, *args):
        r"""

        Parameters
        ----------
        num: int
        ent: Standard_Transient

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns an entity, given its rank in the list.

        """
        return _IFSelect.IFSelect_SelectInList_ListedEntity(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectInList_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectInList

# Register IFSelect_SelectInList in _IFSelect:
_IFSelect.IFSelect_SelectInList_swigregister(IFSelect_SelectInList)
class IFSelect_SelectRange(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectrange. default is take all the input list.

        """
        _IFSelect.IFSelect_SelectRange_swiginit(self, _IFSelect.new_IFSelect_SelectRange(*args))

    def HasLower(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a lower limit is defined.

        """
        return _IFSelect.IFSelect_SelectRange_HasLower(self, *args)

    def HasUpper(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if a lower limit is defined.

        """
        return _IFSelect.IFSelect_SelectRange_HasUpper(self, *args)

    def Lower(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns lower limit (if there is; else, value is senseless).

        """
        return _IFSelect.IFSelect_SelectRange_Lower(self, *args)

    def LowerValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns value of lower limit (0 if none is defined).

        """
        return _IFSelect.IFSelect_SelectRange_LowerValue(self, *args)

    def SetFrom(self, *args):
        r"""

        Parameters
        ----------
        rankfrom: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a lower limit but no upper limit.

        """
        return _IFSelect.IFSelect_SelectRange_SetFrom(self, *args)

    def SetOne(self, *args):
        r"""

        Parameters
        ----------
        rank: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a unique number (only one entity will be sorted as true).

        """
        return _IFSelect.IFSelect_SelectRange_SetOne(self, *args)

    def SetRange(self, *args):
        r"""

        Parameters
        ----------
        rankfrom: IFSelect_IntParam
        rankto: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets a range for numbers, with a lower and a upper limits error if rankto is lower then rankfrom.

        """
        return _IFSelect.IFSelect_SelectRange_SetRange(self, *args)

    def SetUntil(self, *args):
        r"""

        Parameters
        ----------
        rankto: IFSelect_IntParam

        Return
        -------
        None

        Description
        -----------
        Sets an upper limit but no lower limit (equivalent to lower 1).

        """
        return _IFSelect.IFSelect_SelectRange_SetUntil(self, *args)

    def Upper(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_IntParam>

        Description
        -----------
        Returns upper limit (if there is; else, value is senseless).

        """
        return _IFSelect.IFSelect_SelectRange_Upper(self, *args)

    def UpperValue(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns value of upper limit (0 if none is defined).

        """
        return _IFSelect.IFSelect_SelectRange_UpperValue(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectRange_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectRange

# Register IFSelect_SelectRange in _IFSelect:
_IFSelect.IFSelect_SelectRange_swigregister(IFSelect_SelectRange)
class IFSelect_SelectRootComps(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectrootcomps.

        """
        _IFSelect.IFSelect_SelectRootComps_swiginit(self, _IFSelect.new_IFSelect_SelectRootComps(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectRootComps_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectRootComps

# Register IFSelect_SelectRootComps in _IFSelect:
_IFSelect.IFSelect_SelectRootComps_swigregister(IFSelect_SelectRootComps)
class IFSelect_SelectRoots(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectroots.

        """
        _IFSelect.IFSelect_SelectRoots_swiginit(self, _IFSelect.new_IFSelect_SelectRoots(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectRoots_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectRoots

# Register IFSelect_SelectRoots in _IFSelect:
_IFSelect.IFSelect_SelectRoots_swigregister(IFSelect_SelectRoots)
class IFSelect_SelectSent(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        sentcount: int (optional, default to 1)
        atleast: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Creates a selectsent: sentcount = 0 -> remaining (non-sent) entities sentcount = 1, atleast = true (d) -> sent (at least once) sentcount = 2, atleast = true -> duplicated (sent least twice) etc... sentcount = 1, atleast = false -> sent just once (non-dupl.d) sentcount = 2, atleast = false -> sent just twice etc...

        """
        _IFSelect.IFSelect_SelectSent_swiginit(self, _IFSelect.new_IFSelect_SelectSent(*args))

    def AtLeast(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns the <atleast> status, true for sending at least the sending count, false for sending exactly the sending count remark: if sentcount is 0, atleast is ignored.

        """
        return _IFSelect.IFSelect_SelectSent_AtLeast(self, *args)

    def SentCount(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns the queried count of sending.

        """
        return _IFSelect.IFSelect_SelectSent_SentCount(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSent_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSent

# Register IFSelect_SelectSent in _IFSelect:
_IFSelect.IFSelect_SelectSent_swigregister(IFSelect_SelectSent)
class IFSelect_SelectSignature(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        matcher: IFSelect_Signature
        signtext: str
        exact: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Creates a selectsignature with its signature and its text to match. <exact> if true requires exact match, if false requires <signtext> to be contained in the signature of the entity (default is 'exact').

        Parameters
        ----------
        matcher: IFSelect_Signature
        signtext: str
        exact: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        As above with an asciistring.

        Parameters
        ----------
        matcher: IFSelect_SignCounter
        signtext: str
        exact: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Creates a selectsignature with a counter, more precisely a selectsignature. which is used here to just give a signature value (by signonly mode) matching is the default provided by the class signature.

        """
        _IFSelect.IFSelect_SelectSignature_swiginit(self, _IFSelect.new_IFSelect_SelectSignature(*args))

    def Counter(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_SignCounter>

        Description
        -----------
        Returns the used signcounter. can be used as alternative for signature.

        """
        return _IFSelect.IFSelect_SelectSignature_Counter(self, *args)

    def IsExact(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if match must be exact.

        """
        return _IFSelect.IFSelect_SelectSignature_IsExact(self, *args)

    def Signature(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns the used signature, then it is possible to access it, modify it as required. can be null, hence see counter.

        """
        return _IFSelect.IFSelect_SelectSignature_Signature(self, *args)

    def SignatureText(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns text used to sort entity on its signature or signcounter.

        """
        return _IFSelect.IFSelect_SelectSignature_SignatureText(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSignature_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSignature

# Register IFSelect_SelectSignature in _IFSelect:
_IFSelect.IFSelect_SelectSignature_swigregister(IFSelect_SelectSignature)
class IFSelect_SelectSignedShared(IFSelect_SelectExplore):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        matcher: IFSelect_Signature
        signtext: str
        exact: bool (optional, default to Standard_True)
        level: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Creates a selectsignedshared, defaulted for any level with a given signature and text to match.

        """
        _IFSelect.IFSelect_SelectSignedShared_swiginit(self, _IFSelect.new_IFSelect_SelectSignedShared(*args))

    def IsExact(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if match must be exact.

        """
        return _IFSelect.IFSelect_SelectSignedShared_IsExact(self, *args)

    def Signature(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns the used signature, then it is possible to access it, modify it as required.

        """
        return _IFSelect.IFSelect_SelectSignedShared_Signature(self, *args)

    def SignatureText(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns text used to sort entity on its signature.

        """
        return _IFSelect.IFSelect_SelectSignedShared_SignatureText(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSignedShared_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSignedShared

# Register IFSelect_SelectSignedShared in _IFSelect:
_IFSelect.IFSelect_SelectSignedShared_swigregister(IFSelect_SelectSignedShared)
class IFSelect_SelectSignedSharing(IFSelect_SelectExplore):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""

        Parameters
        ----------
        matcher: IFSelect_Signature
        signtext: str
        exact: bool (optional, default to Standard_True)
        level: int (optional, default to 0)

        Return
        -------
        None

        Description
        -----------
        Creates a selectsignedsharing, defaulted for any level with a given signature and text to match.

        """
        _IFSelect.IFSelect_SelectSignedSharing_swiginit(self, _IFSelect.new_IFSelect_SelectSignedSharing(*args))

    def IsExact(self, *args):
        r"""
        Return
        -------
        bool

        Description
        -----------
        Returns true if match must be exact.

        """
        return _IFSelect.IFSelect_SelectSignedSharing_IsExact(self, *args)

    def Signature(self, *args):
        r"""
        Return
        -------
        opencascade::handle<IFSelect_Signature>

        Description
        -----------
        Returns the used signature, then it is possible to access it, modify it as required.

        """
        return _IFSelect.IFSelect_SelectSignedSharing_Signature(self, *args)

    def SignatureText(self, *args):
        r"""
        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns text used to sort entity on its signature.

        """
        return _IFSelect.IFSelect_SelectSignedSharing_SignatureText(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectSignedSharing_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectSignedSharing

# Register IFSelect_SelectSignedSharing in _IFSelect:
_IFSelect.IFSelect_SelectSignedSharing_swigregister(IFSelect_SelectSignedSharing)
class IFSelect_SelectUnknownEntities(IFSelect_SelectExtract):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectunknownentities.

        """
        _IFSelect.IFSelect_SelectUnknownEntities_swiginit(self, _IFSelect.new_IFSelect_SelectUnknownEntities(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectUnknownEntities_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectUnknownEntities

# Register IFSelect_SelectUnknownEntities in _IFSelect:
_IFSelect.IFSelect_SelectUnknownEntities_swigregister(IFSelect_SelectUnknownEntities)
class IFSelect_SelectIncorrectEntities(IFSelect_SelectFlag):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selectincorrectentities i.e. a selectflag('incorrect').

        """
        _IFSelect.IFSelect_SelectIncorrectEntities_swiginit(self, _IFSelect.new_IFSelect_SelectIncorrectEntities(*args))


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectIncorrectEntities_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectIncorrectEntities

# Register IFSelect_SelectIncorrectEntities in _IFSelect:
_IFSelect.IFSelect_SelectIncorrectEntities_swigregister(IFSelect_SelectIncorrectEntities)
class IFSelect_SelectType(IFSelect_SelectAnyType):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Creates a selecttype. default is no filter.

        Parameters
        ----------
        atype: Standard_Type

        Return
        -------
        None

        Description
        -----------
        Creates a selecttype for a given type.

        """
        _IFSelect.IFSelect_SelectType_swiginit(self, _IFSelect.new_IFSelect_SelectType(*args))

    def SetType(self, *args):
        r"""

        Parameters
        ----------
        atype: Standard_Type

        Return
        -------
        None

        Description
        -----------
        Sets a type for filter.

        """
        return _IFSelect.IFSelect_SelectType_SetType(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_SelectType_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _IFSelect.delete_IFSelect_SelectType

# Register IFSelect_SelectType in _IFSelect:
_IFSelect.IFSelect_SelectType_swigregister(IFSelect_SelectType)
class IFSelect_HSeqOfSelection(IFSelect_TSeqOfSelection, OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        _IFSelect.IFSelect_HSeqOfSelection_swiginit(self, _IFSelect.new_IFSelect_HSeqOfSelection(*args))

    def Sequence(self):
        return _IFSelect.IFSelect_HSeqOfSelection_Sequence(self)

    def Append(self, *args):
        return _IFSelect.IFSelect_HSeqOfSelection_Append(self, *args)

    def ChangeSequence(self):
        return _IFSelect.IFSelect_HSeqOfSelection_ChangeSequence(self)


    @staticmethod
    def DownCast(t):
      return Handle_IFSelect_HSeqOfSelection_DownCast(t)

    __swig_destroy__ = _IFSelect.delete_IFSelect_HSeqOfSelection

# Register IFSelect_HSeqOfSelection in _IFSelect:
_IFSelect.IFSelect_HSeqOfSelection_swigregister(IFSelect_HSeqOfSelection)



@deprecated
def ifselect_RestoreSession(*args):
	return ifselect.RestoreSession(*args)

@deprecated
def ifselect_SaveSession(*args):
	return ifselect.SaveSession(*args)

@deprecated
def IFSelect_Activator_Adding(*args):
	return IFSelect_Activator.Adding(*args)

@deprecated
def IFSelect_Activator_Commands(*args):
	return IFSelect_Activator.Commands(*args)

@deprecated
def IFSelect_Activator_Mode(*args):
	return IFSelect_Activator.Mode(*args)

@deprecated
def IFSelect_Activator_Remove(*args):
	return IFSelect_Activator.Remove(*args)

@deprecated
def IFSelect_Activator_Select(*args):
	return IFSelect_Activator.Select(*args)

@deprecated
def IFSelect_Functions_GiveDispatch(*args):
	return IFSelect_Functions.GiveDispatch(*args)

@deprecated
def IFSelect_Functions_GiveEntity(*args):
	return IFSelect_Functions.GiveEntity(*args)

@deprecated
def IFSelect_Functions_GiveEntityNumber(*args):
	return IFSelect_Functions.GiveEntityNumber(*args)

@deprecated
def IFSelect_Functions_GiveList(*args):
	return IFSelect_Functions.GiveList(*args)

@deprecated
def IFSelect_Functions_Init(*args):
	return IFSelect_Functions.Init(*args)

@deprecated
def IFSelect_SessionDumper_First(*args):
	return IFSelect_SessionDumper.First(*args)

@deprecated
def IFSelect_Signature_IntValue(*args):
	return IFSelect_Signature.IntValue(*args)

@deprecated
def IFSelect_Signature_MatchValue(*args):
	return IFSelect_Signature.MatchValue(*args)

@deprecated
def IFSelect_Act_AddFSet(*args):
	return IFSelect_Act.AddFSet(*args)

@deprecated
def IFSelect_Act_AddFunc(*args):
	return IFSelect_Act.AddFunc(*args)

@deprecated
def IFSelect_Act_SetGroup(*args):
	return IFSelect_Act.SetGroup(*args)

@deprecated
def IFSelect_ParamEditor_StaticEditor(*args):
	return IFSelect_ParamEditor.StaticEditor(*args)

@deprecated
def IFSelect_SignValidity_CVal(*args):
	return IFSelect_SignValidity.CVal(*args)



