# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.4.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://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_ifselect.html
"""

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __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)

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

class ios_base(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")
    __repr__ = _swig_repr
    erase_event = _IFSelect.ios_base_erase_event
    imbue_event = _IFSelect.ios_base_imbue_event
    copyfmt_event = _IFSelect.ios_base_copyfmt_event

    def register_callback(self, __fn, __index):
        return _IFSelect.ios_base_register_callback(self, __fn, __index)

    def flags(self, *args):
        return _IFSelect.ios_base_flags(self, *args)

    def setf(self, *args):
        return _IFSelect.ios_base_setf(self, *args)

    def unsetf(self, __mask):
        return _IFSelect.ios_base_unsetf(self, __mask)

    def precision(self, *args):
        return _IFSelect.ios_base_precision(self, *args)

    def width(self, *args):
        return _IFSelect.ios_base_width(self, *args)

    @staticmethod
    def sync_with_stdio(__sync=True):
        return _IFSelect.ios_base_sync_with_stdio(__sync)

    def imbue(self, __loc):
        return _IFSelect.ios_base_imbue(self, __loc)

    def getloc(self):
        return _IFSelect.ios_base_getloc(self)

    @staticmethod
    def xalloc():
        return _IFSelect.ios_base_xalloc()

    def iword(self, __ix):
        return _IFSelect.ios_base_iword(self, __ix)

    def pword(self, __ix):
        return _IFSelect.ios_base_pword(self, __ix)
    __swig_destroy__ = _IFSelect.delete_ios_base

# Register ios_base in _IFSelect:
_IFSelect.ios_base_swigregister(ios_base)
cvar = _IFSelect.cvar
ios_base.boolalpha = _IFSelect.cvar.ios_base_boolalpha
ios_base.dec = _IFSelect.cvar.ios_base_dec
ios_base.fixed = _IFSelect.cvar.ios_base_fixed
ios_base.hex = _IFSelect.cvar.ios_base_hex
ios_base.internal = _IFSelect.cvar.ios_base_internal
ios_base.left = _IFSelect.cvar.ios_base_left
ios_base.oct = _IFSelect.cvar.ios_base_oct
ios_base.right = _IFSelect.cvar.ios_base_right
ios_base.scientific = _IFSelect.cvar.ios_base_scientific
ios_base.showbase = _IFSelect.cvar.ios_base_showbase
ios_base.showpoint = _IFSelect.cvar.ios_base_showpoint
ios_base.showpos = _IFSelect.cvar.ios_base_showpos
ios_base.skipws = _IFSelect.cvar.ios_base_skipws
ios_base.unitbuf = _IFSelect.cvar.ios_base_unitbuf
ios_base.uppercase = _IFSelect.cvar.ios_base_uppercase
ios_base.adjustfield = _IFSelect.cvar.ios_base_adjustfield
ios_base.basefield = _IFSelect.cvar.ios_base_basefield
ios_base.floatfield = _IFSelect.cvar.ios_base_floatfield
ios_base.badbit = _IFSelect.cvar.ios_base_badbit
ios_base.eofbit = _IFSelect.cvar.ios_base_eofbit
ios_base.failbit = _IFSelect.cvar.ios_base_failbit
ios_base.goodbit = _IFSelect.cvar.ios_base_goodbit
ios_base.app = _IFSelect.cvar.ios_base_app
ios_base.ate = _IFSelect.cvar.ios_base_ate
ios_base.binary = _IFSelect.cvar.ios_base_binary
ios_base.ios_base_in = _IFSelect.cvar.ios_base_ios_base_in
ios_base.out = _IFSelect.cvar.ios_base_out
ios_base.trunc = _IFSelect.cvar.ios_base_trunc
ios_base.beg = _IFSelect.cvar.ios_base_beg
ios_base.cur = _IFSelect.cvar.ios_base_cur
ios_base.end = _IFSelect.cvar.ios_base_end

class ios(ios_base):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def rdstate(self):
        return _IFSelect.ios_rdstate(self)

    def clear(self, *args):
        return _IFSelect.ios_clear(self, *args)

    def setstate(self, __state):
        return _IFSelect.ios_setstate(self, __state)

    def good(self):
        return _IFSelect.ios_good(self)

    def eof(self):
        return _IFSelect.ios_eof(self)

    def fail(self):
        return _IFSelect.ios_fail(self)

    def bad(self):
        return _IFSelect.ios_bad(self)

    def exceptions(self, *args):
        return _IFSelect.ios_exceptions(self, *args)

    def __init__(self, __sb):
        _IFSelect.ios_swiginit(self, _IFSelect.new_ios(__sb))
    __swig_destroy__ = _IFSelect.delete_ios

    def tie(self, *args):
        return _IFSelect.ios_tie(self, *args)

    def rdbuf(self, *args):
        return _IFSelect.ios_rdbuf(self, *args)

    def copyfmt(self, __rhs):
        return _IFSelect.ios_copyfmt(self, __rhs)

    def fill(self, *args):
        return _IFSelect.ios_fill(self, *args)

    def imbue(self, __loc):
        return _IFSelect.ios_imbue(self, __loc)

    def narrow(self, __c, __dfault):
        return _IFSelect.ios_narrow(self, __c, __dfault)

    def widen(self, __c):
        return _IFSelect.ios_widen(self, __c)

# Register ios in _IFSelect:
_IFSelect.ios_swigregister(ios)
class ostream(ios):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _IFSelect.ostream_swiginit(self, _IFSelect.new_ostream(__sb))
    __swig_destroy__ = _IFSelect.delete_ostream

    def __lshift__(self, *args):
        return _IFSelect.ostream___lshift__(self, *args)

    def put(self, __c):
        return _IFSelect.ostream_put(self, __c)

    def write(self, __s, __n):
        return _IFSelect.ostream_write(self, __s, __n)

    def flush(self):
        return _IFSelect.ostream_flush(self)

    def tellp(self):
        return _IFSelect.ostream_tellp(self)

    def seekp(self, *args):
        return _IFSelect.ostream_seekp(self, *args)

# Register ostream in _IFSelect:
_IFSelect.ostream_swigregister(ostream)
class istream(ios):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _IFSelect.istream_swiginit(self, _IFSelect.new_istream(__sb))
    __swig_destroy__ = _IFSelect.delete_istream

    def __rshift__(self, *args):
        return _IFSelect.istream___rshift__(self, *args)

    def gcount(self):
        return _IFSelect.istream_gcount(self)

    def get(self, *args):
        return _IFSelect.istream_get(self, *args)

    def getline(self, *args):
        return _IFSelect.istream_getline(self, *args)

    def ignore(self, *args):
        return _IFSelect.istream_ignore(self, *args)

    def peek(self):
        return _IFSelect.istream_peek(self)

    def read(self, __s, __n):
        return _IFSelect.istream_read(self, __s, __n)

    def readsome(self, __s, __n):
        return _IFSelect.istream_readsome(self, __s, __n)

    def putback(self, __c):
        return _IFSelect.istream_putback(self, __c)

    def unget(self):
        return _IFSelect.istream_unget(self)

    def sync(self):
        return _IFSelect.istream_sync(self)

    def tellg(self):
        return _IFSelect.istream_tellg(self)

    def seekg(self, *args):
        return _IFSelect.istream_seekg(self, *args)

# Register istream in _IFSelect:
_IFSelect.istream_swigregister(istream)
class iostream(istream, ostream):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, __sb):
        _IFSelect.iostream_swiginit(self, _IFSelect.new_iostream(__sb))
    __swig_destroy__ = _IFSelect.delete_iostream

# Register iostream in _IFSelect:
_IFSelect.iostream_swigregister(iostream)
cin = cvar.cin
cout = cvar.cout
cerr = cvar.cerr
clog = cvar.clog

endl_cb_ptr = _IFSelect.endl_cb_ptr
endl = _IFSelect.endl
ends_cb_ptr = _IFSelect.ends_cb_ptr
ends = _IFSelect.ends
flush_cb_ptr = _IFSelect.flush_cb_ptr
flush = _IFSelect.flush
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, *args):
        return _IFSelect.IFSelect_SequenceOfAppliedModifiers_Set(self, *args)

    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, *args):
        return _IFSelect.IFSelect_SequenceOfGeneralModifier_Set(self, *args)

    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, *args):
        return _IFSelect.IFSelect_SequenceOfInterfaceModel_Set(self, *args)

    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, *args):
        return _IFSelect.IFSelect_TSeqOfDispatch_Set(self, *args)

    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, *args):
        return _IFSelect.IFSelect_TSeqOfSelection_Set(self, *args)

    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 PrintDefs(self, *args):
        r"""

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints Definitions, relative to the Editor.

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

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

        Parameters
        ----------
        what: int
        names: bool
        alsolist: bool (optional, default to Standard_False)

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints Values, according to what and alsolist <names> True: prints Long Names; False: prints Short Names <what> < 0: prints Original Values (+ flag Modified) <what> > 0: prints Final Values (+flag Modified) <what> = 0: prints Modified Values (Original + Edited) <alsolist> False (D): lists are printed only as their count <alsolist> True: lists are printed for all their items.

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

    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 PrintDefs(self, *args):
        r"""

        Parameters
        ----------
        labels: bool (optional, default to Standard_False)

        Return
        -------
        S: Standard_OStream

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

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

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

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

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

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

    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 (acknowledged 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 acknowledges 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 acknowledged, 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 PrintCount(self, *args):
        r"""

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints the counts of items (not the list).

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

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

        Parameters
        ----------
        model: Interface_InterfaceModel
        mod: IFSelect_PrintCount (optional, default to IFSelect_ListByItem)

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints the lists of items, if they are present (else, prints a message 'no list available') Uses <model> to determine for each entity to be listed, its number, and its specific identifier (by PrintLabel) <mod> gives a mode for printing: - CountByItem: just count (as PrintCount) - ShortByItem: minimum i.e. count plus 5 first entity numbers - ShortByItem(D) complete list of entity numbers (0: 'Global') - EntitiesByItem: list of (entity number/PrintLabel from the model) other modes are ignored.

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

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

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints a summary Item which has the greatest count of entities For items which are numeric values: their count, maximum, minimum values, cumul, average.

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

    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 DumpEntity(self, *args):
        r"""

        Parameters
        ----------
        model: Interface_InterfaceModel
        protocol: Interface_Protocol
        entity: Standard_Transient
        level: int

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Gives the way of dumping an entity under a form comprehensive for each norm. <model> helps to identify, number ... entities. <level> is to be interpreted for each norm (because of the formats which can be very different).

        Parameters
        ----------
        model: Interface_InterfaceModel
        protocol: Interface_Protocol
        entity: Standard_Transient

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Calls deferred DumpEntity with the recorded default level.

        """
        return _IFSelect.IFSelect_WorkLibrary_DumpEntity(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: str
        model: Interface_InterfaceModel
        protocol: Interface_Protocol

        Return
        -------
        int

        Description
        -----------
        Interface to read a data from the specified stream. 
        Parameter 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 DumpEntity(self, *args):
        r"""

        Parameters
        ----------
        ent: Standard_Transient
        level: int

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Dumps a starting entity according to the current norm. To do this, it calls DumpEntity from WorkLibrary. <level> is to be interpreted for each norm: see specific classes of WorkLibrary for it. Generally, 0 if for very basic (only type ...), greater values give more and more details.

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

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

        Parameters
        ----------
        level: int

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Lists the content of the Input Model (if there is one) According level: 0 -> gives only count of Entities and Roots 1 -> Lists also Roots; 2 -> Lists all Entities (by TraceType) 3 -> Performs a call to CheckList (Fails) and lists the result 4 -> as 3 but all CheckList (Fails + Warnings) 5,6,7: as 3 but resp. Count,List,Labels by Fail 8,9,10: as 4 but resp. Count,List,Labels by message.

        """
        return _IFSelect.IFSelect_WorkSession_DumpModel(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 ListEntities(self, *args):
        r"""

        Parameters
        ----------
        iter: Interface_EntityIterator
        mode: int

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Internal method which displays an EntityIterator <mode> 0 gives short display (only entity numbers) 1 gives a more complete trace (1 line per Entity) (can be used each time a trace has to be output from a list) 2 gives a form suitable for givelist: (n1,n2,n3...).

        """
        return _IFSelect.IFSelect_WorkSession_ListEntities(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 PrintCheckList(self, *args):
        r"""

        Parameters
        ----------
        checklist: Interface_CheckIterator
        failsonly: bool
        mode: IFSelect_PrintCount

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints a CheckIterator to the current Trace File, controlled with the current Model complete or fails only, according to <failsonly> <mode> defines the mode of printing 0: sequential, according entities; else with a CheckCounter 1: according messages, count of entities 2: id but with list of entities, designated by their numbers 3: as 2 but with labels of entities.

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

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

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

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints main information about an entity: its number, type, validity (and checks if any), category, shareds and sharings.. mutable because it can recompute checks as necessary.

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

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

        Parameters
        ----------
        signlist: IFSelect_SignatureList
        mode: IFSelect_PrintCount

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints a SignatureList to the current Trace File, controlled with the current Model <mode> defines the mode of printing (see SignatureList).

        """
        return _IFSelect.IFSelect_WorkSession_PrintSignatureList(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: str

        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 dependencies (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 dependences 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, according to 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 acknowledge 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)



