# 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.

"""
MoniTool module, see official documentation at
https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_monitool.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 _MoniTool
else:
    import _MoniTool

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__ = _MoniTool.delete_SwigPyIterator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register SwigPyIterator in _MoniTool:
_MoniTool.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 _MoniTool.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 = _MoniTool.ios_base_erase_event
    imbue_event = _MoniTool.ios_base_imbue_event
    copyfmt_event = _MoniTool.ios_base_copyfmt_event

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register ios in _MoniTool:
_MoniTool.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):
        _MoniTool.ostream_swiginit(self, _MoniTool.new_ostream(__sb))
    __swig_destroy__ = _MoniTool.delete_ostream

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

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

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

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

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

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

# Register ostream in _MoniTool:
_MoniTool.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):
        _MoniTool.istream_swiginit(self, _MoniTool.new_istream(__sb))
    __swig_destroy__ = _MoniTool.delete_istream

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register istream in _MoniTool:
_MoniTool.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):
        _MoniTool.iostream_swiginit(self, _MoniTool.new_iostream(__sb))
    __swig_destroy__ = _MoniTool.delete_iostream

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

endl_cb_ptr = _MoniTool.endl_cb_ptr
endl = _MoniTool.endl
ends_cb_ptr = _MoniTool.ends_cb_ptr
ends = _MoniTool.ends
flush_cb_ptr = _MoniTool.flush_cb_ptr
flush = _MoniTool.flush
import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.TopoDS
import OCC.Core.Message
import OCC.Core.TCollection
import OCC.Core.OSD
import OCC.Core.TColStd
import OCC.Core.TopAbs
import OCC.Core.TopLoc
import OCC.Core.gp

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

MoniTool_ValueMisc = _MoniTool.MoniTool_ValueMisc
MoniTool_ValueInteger = _MoniTool.MoniTool_ValueInteger
MoniTool_ValueReal = _MoniTool.MoniTool_ValueReal
MoniTool_ValueIdent = _MoniTool.MoniTool_ValueIdent
MoniTool_ValueVoid = _MoniTool.MoniTool_ValueVoid
MoniTool_ValueText = _MoniTool.MoniTool_ValueText
MoniTool_ValueEnum = _MoniTool.MoniTool_ValueEnum
MoniTool_ValueLogical = _MoniTool.MoniTool_ValueLogical
MoniTool_ValueSub = _MoniTool.MoniTool_ValueSub
MoniTool_ValueHexa = _MoniTool.MoniTool_ValueHexa
MoniTool_ValueBinary = _MoniTool.MoniTool_ValueBinary


class MoniTool_ValueType(IntEnum):
	MoniTool_ValueMisc = 0
	MoniTool_ValueInteger = 1
	MoniTool_ValueReal = 2
	MoniTool_ValueIdent = 3
	MoniTool_ValueVoid = 4
	MoniTool_ValueText = 5
	MoniTool_ValueEnum = 6
	MoniTool_ValueLogical = 7
	MoniTool_ValueSub = 8
	MoniTool_ValueHexa = 9
	MoniTool_ValueBinary = 10
MoniTool_ValueMisc = MoniTool_ValueType.MoniTool_ValueMisc
MoniTool_ValueInteger = MoniTool_ValueType.MoniTool_ValueInteger
MoniTool_ValueReal = MoniTool_ValueType.MoniTool_ValueReal
MoniTool_ValueIdent = MoniTool_ValueType.MoniTool_ValueIdent
MoniTool_ValueVoid = MoniTool_ValueType.MoniTool_ValueVoid
MoniTool_ValueText = MoniTool_ValueType.MoniTool_ValueText
MoniTool_ValueEnum = MoniTool_ValueType.MoniTool_ValueEnum
MoniTool_ValueLogical = MoniTool_ValueType.MoniTool_ValueLogical
MoniTool_ValueSub = MoniTool_ValueType.MoniTool_ValueSub
MoniTool_ValueHexa = MoniTool_ValueType.MoniTool_ValueHexa
MoniTool_ValueBinary = MoniTool_ValueType.MoniTool_ValueBinary


def Handle_MoniTool_CaseData_Create():
    return _MoniTool.Handle_MoniTool_CaseData_Create()

def Handle_MoniTool_CaseData_DownCast(t):
    return _MoniTool.Handle_MoniTool_CaseData_DownCast(t)

def Handle_MoniTool_CaseData_IsNull(t):
    return _MoniTool.Handle_MoniTool_CaseData_IsNull(t)

def Handle_MoniTool_Element_Create():
    return _MoniTool.Handle_MoniTool_Element_Create()

def Handle_MoniTool_Element_DownCast(t):
    return _MoniTool.Handle_MoniTool_Element_DownCast(t)

def Handle_MoniTool_Element_IsNull(t):
    return _MoniTool.Handle_MoniTool_Element_IsNull(t)

def Handle_MoniTool_IntVal_Create():
    return _MoniTool.Handle_MoniTool_IntVal_Create()

def Handle_MoniTool_IntVal_DownCast(t):
    return _MoniTool.Handle_MoniTool_IntVal_DownCast(t)

def Handle_MoniTool_IntVal_IsNull(t):
    return _MoniTool.Handle_MoniTool_IntVal_IsNull(t)

def Handle_MoniTool_RealVal_Create():
    return _MoniTool.Handle_MoniTool_RealVal_Create()

def Handle_MoniTool_RealVal_DownCast(t):
    return _MoniTool.Handle_MoniTool_RealVal_DownCast(t)

def Handle_MoniTool_RealVal_IsNull(t):
    return _MoniTool.Handle_MoniTool_RealVal_IsNull(t)

def Handle_MoniTool_SignText_Create():
    return _MoniTool.Handle_MoniTool_SignText_Create()

def Handle_MoniTool_SignText_DownCast(t):
    return _MoniTool.Handle_MoniTool_SignText_DownCast(t)

def Handle_MoniTool_SignText_IsNull(t):
    return _MoniTool.Handle_MoniTool_SignText_IsNull(t)

def Handle_MoniTool_Timer_Create():
    return _MoniTool.Handle_MoniTool_Timer_Create()

def Handle_MoniTool_Timer_DownCast(t):
    return _MoniTool.Handle_MoniTool_Timer_DownCast(t)

def Handle_MoniTool_Timer_IsNull(t):
    return _MoniTool.Handle_MoniTool_Timer_IsNull(t)

def Handle_MoniTool_TypedValue_Create():
    return _MoniTool.Handle_MoniTool_TypedValue_Create()

def Handle_MoniTool_TypedValue_DownCast(t):
    return _MoniTool.Handle_MoniTool_TypedValue_DownCast(t)

def Handle_MoniTool_TypedValue_IsNull(t):
    return _MoniTool.Handle_MoniTool_TypedValue_IsNull(t)

def Handle_MoniTool_SignShape_Create():
    return _MoniTool.Handle_MoniTool_SignShape_Create()

def Handle_MoniTool_SignShape_DownCast(t):
    return _MoniTool.Handle_MoniTool_SignShape_DownCast(t)

def Handle_MoniTool_SignShape_IsNull(t):
    return _MoniTool.Handle_MoniTool_SignShape_IsNull(t)

def Handle_MoniTool_TransientElem_Create():
    return _MoniTool.Handle_MoniTool_TransientElem_Create()

def Handle_MoniTool_TransientElem_DownCast(t):
    return _MoniTool.Handle_MoniTool_TransientElem_DownCast(t)

def Handle_MoniTool_TransientElem_IsNull(t):
    return _MoniTool.Handle_MoniTool_TransientElem_IsNull(t)

def Handle_MoniTool_HSequenceOfElement_Create():
    return _MoniTool.Handle_MoniTool_HSequenceOfElement_Create()

def Handle_MoniTool_HSequenceOfElement_DownCast(t):
    return _MoniTool.Handle_MoniTool_HSequenceOfElement_DownCast(t)

def Handle_MoniTool_HSequenceOfElement_IsNull(t):
    return _MoniTool.Handle_MoniTool_HSequenceOfElement_IsNull(t)
class MoniTool_DataMapOfShapeTransient(OCC.Core.NCollection.NCollection_BaseMap):
    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 _MoniTool.MoniTool_DataMapOfShapeTransient_begin(self)

    def end(self):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_end(self)

    def cbegin(self):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_cbegin(self)

    def cend(self):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_cend(self)

    def __init__(self, *args):
        _MoniTool.MoniTool_DataMapOfShapeTransient_swiginit(self, _MoniTool.new_MoniTool_DataMapOfShapeTransient(*args))

    def Exchange(self, theOther):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Exchange(self, theOther)

    def Assign(self, theOther):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Assign(self, theOther)

    def Set(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Set(self, *args)

    def ReSize(self, N):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_ReSize(self, N)

    def Bind(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Bind(self, *args)

    def Bound(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Bound(self, *args)

    def IsBound(self, theKey):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_IsBound(self, theKey)

    def UnBind(self, theKey):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_UnBind(self, theKey)

    def Seek(self, theKey):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Seek(self, theKey)

    def Find(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Find(self, *args)

    def ChangeSeek(self, theKey):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_ChangeSeek(self, theKey)

    def ChangeFind(self, theKey):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_ChangeFind(self, theKey)

    def __call__(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient___call__(self, *args)

    def Clear(self, *args):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Clear(self, *args)
    __swig_destroy__ = _MoniTool.delete_MoniTool_DataMapOfShapeTransient

    def Size(self):
        return _MoniTool.MoniTool_DataMapOfShapeTransient_Size(self)

# Register MoniTool_DataMapOfShapeTransient in _MoniTool:
_MoniTool.MoniTool_DataMapOfShapeTransient_swigregister(MoniTool_DataMapOfShapeTransient)
class MoniTool_DataMapOfTimer(OCC.Core.NCollection.NCollection_BaseMap):
    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 _MoniTool.MoniTool_DataMapOfTimer_begin(self)

    def end(self):
        return _MoniTool.MoniTool_DataMapOfTimer_end(self)

    def cbegin(self):
        return _MoniTool.MoniTool_DataMapOfTimer_cbegin(self)

    def cend(self):
        return _MoniTool.MoniTool_DataMapOfTimer_cend(self)

    def __init__(self, *args):
        _MoniTool.MoniTool_DataMapOfTimer_swiginit(self, _MoniTool.new_MoniTool_DataMapOfTimer(*args))

    def Exchange(self, theOther):
        return _MoniTool.MoniTool_DataMapOfTimer_Exchange(self, theOther)

    def Assign(self, theOther):
        return _MoniTool.MoniTool_DataMapOfTimer_Assign(self, theOther)

    def Set(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer_Set(self, *args)

    def ReSize(self, N):
        return _MoniTool.MoniTool_DataMapOfTimer_ReSize(self, N)

    def Bind(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer_Bind(self, *args)

    def Bound(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer_Bound(self, *args)

    def IsBound(self, theKey):
        return _MoniTool.MoniTool_DataMapOfTimer_IsBound(self, theKey)

    def UnBind(self, theKey):
        return _MoniTool.MoniTool_DataMapOfTimer_UnBind(self, theKey)

    def Seek(self, theKey):
        return _MoniTool.MoniTool_DataMapOfTimer_Seek(self, theKey)

    def Find(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer_Find(self, *args)

    def ChangeSeek(self, theKey):
        return _MoniTool.MoniTool_DataMapOfTimer_ChangeSeek(self, theKey)

    def ChangeFind(self, theKey):
        return _MoniTool.MoniTool_DataMapOfTimer_ChangeFind(self, theKey)

    def __call__(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer___call__(self, *args)

    def Clear(self, *args):
        return _MoniTool.MoniTool_DataMapOfTimer_Clear(self, *args)
    __swig_destroy__ = _MoniTool.delete_MoniTool_DataMapOfTimer

    def Size(self):
        return _MoniTool.MoniTool_DataMapOfTimer_Size(self)

# Register MoniTool_DataMapOfTimer in _MoniTool:
_MoniTool.MoniTool_DataMapOfTimer_swigregister(MoniTool_DataMapOfTimer)
class MoniTool_IndexedDataMapOfShapeTransient(OCC.Core.NCollection.NCollection_BaseMap):
    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 _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_begin(self)

    def end(self):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_end(self)

    def cbegin(self):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_cbegin(self)

    def cend(self):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_cend(self)

    def __init__(self, *args):
        _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_swiginit(self, _MoniTool.new_MoniTool_IndexedDataMapOfShapeTransient(*args))

    def Exchange(self, theOther):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Exchange(self, theOther)

    def Assign(self, theOther):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Assign(self, theOther)

    def Set(self, *args):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Set(self, *args)

    def ReSize(self, N):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_ReSize(self, N)

    def Add(self, *args):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Add(self, *args)

    def Contains(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Contains(self, theKey1)

    def Substitute(self, theIndex, theKey1, theItem):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Substitute(self, theIndex, theKey1, theItem)

    def Swap(self, theIndex1, theIndex2):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Swap(self, theIndex1, theIndex2)

    def RemoveLast(self):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_RemoveLast(self)

    def RemoveFromIndex(self, theIndex):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_RemoveFromIndex(self, theIndex)

    def RemoveKey(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_RemoveKey(self, theKey1)

    def FindKey(self, theIndex):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_FindKey(self, theIndex)

    def FindFromIndex(self, theIndex):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_FindFromIndex(self, theIndex)

    def ChangeFromIndex(self, theIndex):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_ChangeFromIndex(self, theIndex)

    def __call__(self, *args):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient___call__(self, *args)

    def FindIndex(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_FindIndex(self, theKey1)

    def ChangeFromKey(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_ChangeFromKey(self, theKey1)

    def Seek(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Seek(self, theKey1)

    def ChangeSeek(self, theKey1):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_ChangeSeek(self, theKey1)

    def FindFromKey(self, *args):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_FindFromKey(self, *args)

    def Clear(self, *args):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Clear(self, *args)
    __swig_destroy__ = _MoniTool.delete_MoniTool_IndexedDataMapOfShapeTransient

    def Size(self):
        return _MoniTool.MoniTool_IndexedDataMapOfShapeTransient_Size(self)

# Register MoniTool_IndexedDataMapOfShapeTransient in _MoniTool:
_MoniTool.MoniTool_IndexedDataMapOfShapeTransient_swigregister(MoniTool_IndexedDataMapOfShapeTransient)
class MoniTool_SequenceOfElement(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 _MoniTool.MoniTool_SequenceOfElement_begin(self)

    def end(self):
        return _MoniTool.MoniTool_SequenceOfElement_end(self)

    def cbegin(self):
        return _MoniTool.MoniTool_SequenceOfElement_cbegin(self)

    def cend(self):
        return _MoniTool.MoniTool_SequenceOfElement_cend(self)

    def __init__(self, *args):
        _MoniTool.MoniTool_SequenceOfElement_swiginit(self, _MoniTool.new_MoniTool_SequenceOfElement(*args))

    def Size(self):
        return _MoniTool.MoniTool_SequenceOfElement_Size(self)

    def Length(self):
        return _MoniTool.MoniTool_SequenceOfElement_Length(self)

    def Lower(self):
        return _MoniTool.MoniTool_SequenceOfElement_Lower(self)

    def Upper(self):
        return _MoniTool.MoniTool_SequenceOfElement_Upper(self)

    def IsEmpty(self):
        return _MoniTool.MoniTool_SequenceOfElement_IsEmpty(self)

    def Reverse(self):
        return _MoniTool.MoniTool_SequenceOfElement_Reverse(self)

    def Exchange(self, I, J):
        return _MoniTool.MoniTool_SequenceOfElement_Exchange(self, I, J)

    @staticmethod
    def delNode(theNode, theAl):
        return _MoniTool.MoniTool_SequenceOfElement_delNode(theNode, theAl)

    def Clear(self, theAllocator=0):
        return _MoniTool.MoniTool_SequenceOfElement_Clear(self, theAllocator)

    def Assign(self, theOther):
        return _MoniTool.MoniTool_SequenceOfElement_Assign(self, theOther)

    def Set(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_Set(self, *args)

    def Remove(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_Remove(self, *args)

    def Append(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_Append(self, *args)

    def Prepend(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_Prepend(self, *args)

    def InsertBefore(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_InsertBefore(self, *args)

    def InsertAfter(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement_InsertAfter(self, *args)

    def Split(self, theIndex, theSeq):
        return _MoniTool.MoniTool_SequenceOfElement_Split(self, theIndex, theSeq)

    def First(self):
        return _MoniTool.MoniTool_SequenceOfElement_First(self)

    def ChangeFirst(self):
        return _MoniTool.MoniTool_SequenceOfElement_ChangeFirst(self)

    def Last(self):
        return _MoniTool.MoniTool_SequenceOfElement_Last(self)

    def ChangeLast(self):
        return _MoniTool.MoniTool_SequenceOfElement_ChangeLast(self)

    def Value(self, theIndex):
        return _MoniTool.MoniTool_SequenceOfElement_Value(self, theIndex)

    def ChangeValue(self, theIndex):
        return _MoniTool.MoniTool_SequenceOfElement_ChangeValue(self, theIndex)

    def __call__(self, *args):
        return _MoniTool.MoniTool_SequenceOfElement___call__(self, *args)

    def SetValue(self, theIndex, theItem):
        return _MoniTool.MoniTool_SequenceOfElement_SetValue(self, theIndex, theItem)
    __swig_destroy__ = _MoniTool.delete_MoniTool_SequenceOfElement

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


# Register MoniTool_SequenceOfElement in _MoniTool:
_MoniTool.MoniTool_SequenceOfElement_swigregister(MoniTool_SequenceOfElement)
class MoniTool_AttrList(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 AttrList, empty.

        Parameters
        ----------
        other: MoniTool_AttrList

        Return
        -------
        None

        Description
        -----------
        Creates an AttrList from another one, definitions are shared (calls SameAttributes).

        """
        _MoniTool.MoniTool_AttrList_swiginit(self, _MoniTool.new_MoniTool_AttrList(*args))

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

        Description
        -----------
        Returns the exhaustive list of attributes.

        """
        return _MoniTool.MoniTool_AttrList_AttrList(self, *args)

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

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

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns an attribute from its name. Null Handle if not recorded (whatever Transient, Integer, Real ...) Integer is recorded as IntVal Real is recorded as RealVal Text is recorded as HAsciiString.

        """
        return _MoniTool.MoniTool_AttrList_Attribute(self, *args)

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

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

        Return
        -------
        MoniTool_ValueType

        Description
        -----------
        Returns the type of an attribute: ValueInt , ValueReal , ValueText (String) , ValueIdent (any) or ValueVoid (not recorded).

        """
        return _MoniTool.MoniTool_AttrList_AttributeType(self, *args)

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

        Parameters
        ----------
        name: str
        type: Standard_Type
        val: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Returns an attribute from its name, filtered by a type If no attribute has this name, or if it is not kind of this type, <val> is Null and returned value is False Else, it is True.

        """
        return _MoniTool.MoniTool_AttrList_GetAttribute(self, *args)

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

        Parameters
        ----------
        other: MoniTool_AttrList
        fromname: str (optional, default to )
        copied: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        Gets the list of attributes from <other>, by copying it By default, considers all the attributes from <other> If <fromname> is given, considers only the attributes with name beginning by <fromname> //! For each attribute, if <copied> is True (D), its value is also copied if it is a basic type (Integer,Real,String), else it remains shared between <other> and <self> //! These new attributes are added to the existing ones in <self>, in case of same name, they replace the existing ones.

        """
        return _MoniTool.MoniTool_AttrList_GetAttributes(self, *args)

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

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

        Return
        -------
        val: int

        Description
        -----------
        Returns an attribute from its name, as integer If no attribute has this name, or not an integer, <val> is 0 and returned value is False Else, it is True.

        """
        return _MoniTool.MoniTool_AttrList_GetIntegerAttribute(self, *args)

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

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

        Return
        -------
        val: float

        Description
        -----------
        Returns an attribute from its name, as real If no attribute has this name, or not a real <val> is 0.0 and returned value is False Else, it is True.

        """
        return _MoniTool.MoniTool_AttrList_GetRealAttribute(self, *args)

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

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

        Return
        -------
        bool

        Description
        -----------
        Returns an attribute from its name, as String If no attribute has this name, or not a String <val> is 0.0 and returned value is False Else, it is True.

        """
        return _MoniTool.MoniTool_AttrList_GetStringAttribute(self, *args)

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

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

        Return
        -------
        int

        Description
        -----------
        Returns an integer attribute from its name. 0 if not recorded.

        """
        return _MoniTool.MoniTool_AttrList_IntegerAttribute(self, *args)

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

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

        Return
        -------
        float

        Description
        -----------
        Returns a real attribute from its name. 0.0 if not recorded.

        """
        return _MoniTool.MoniTool_AttrList_RealAttribute(self, *args)

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

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

        Return
        -------
        bool

        Description
        -----------
        Removes an attribute Returns True when done, False if this attribute did not exist.

        """
        return _MoniTool.MoniTool_AttrList_RemoveAttribute(self, *args)

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

        Parameters
        ----------
        other: MoniTool_AttrList

        Return
        -------
        None

        Description
        -----------
        Gets the list of attributes from <other>, as such, i.e. not copied: attributes are shared, any attribute edited, added, or removed in <other> is also in <self> and vice versa The former list of attributes of <self> is dropped.

        """
        return _MoniTool.MoniTool_AttrList_SameAttributes(self, *args)

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

        Parameters
        ----------
        name: str
        val: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        Adds an attribute with a given name (replaces the former one with the same name if already exists).

        """
        return _MoniTool.MoniTool_AttrList_SetAttribute(self, *args)

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

        Parameters
        ----------
        name: str
        val: int

        Return
        -------
        None

        Description
        -----------
        Adds an integer value for an attribute.

        """
        return _MoniTool.MoniTool_AttrList_SetIntegerAttribute(self, *args)

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

        Parameters
        ----------
        name: str
        val: float

        Return
        -------
        None

        Description
        -----------
        Adds a real value for an attribute.

        """
        return _MoniTool.MoniTool_AttrList_SetRealAttribute(self, *args)

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

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

        Return
        -------
        None

        Description
        -----------
        Adds a String value for an attribute.

        """
        return _MoniTool.MoniTool_AttrList_SetStringAttribute(self, *args)

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

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

        Return
        -------
        str

        Description
        -----------
        Returns a String attribute from its name. '' if not recorded.

        """
        return _MoniTool.MoniTool_AttrList_StringAttribute(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_AttrList

# Register MoniTool_AttrList in _MoniTool:
_MoniTool.MoniTool_AttrList_swigregister(MoniTool_AttrList)
class MoniTool_CaseData(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
        ----------
        caseid: str (optional, default to )
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates a CaseData with a CaseId and a Name (by default not defined).

        """
        _MoniTool.MoniTool_CaseData_swiginit(self, _MoniTool.new_MoniTool_CaseData(*args))

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

        Parameters
        ----------
        val: Standard_Transient
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Transient, with no more meaning.

        """
        return _MoniTool.MoniTool_CaseData_AddAny(self, *args)

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

        Parameters
        ----------
        lastCPU: float
        curCPU: float (optional, default to 0)
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds the CPU time between lastCPU and now if <curCPU> is given, the CPU amount is curCPU-lastCPU else it is currently measured CPU - lastCPU lastCPU has been read by call to GetCPU See GetCPU to get amount, and LargeCPU to test large amount.

        """
        return _MoniTool.MoniTool_CaseData_AddCPU(self, *args)

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

        Parameters
        ----------
        val: Standard_Transient
        kind: int
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Unitary adding a data; rather internal.

        """
        return _MoniTool.MoniTool_CaseData_AddData(self, *args)

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

        Parameters
        ----------
        ent: Standard_Transient
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Transient, as an Entity from an InterfaceModel for instance: it will then be printed with the help of a DBPE.

        """
        return _MoniTool.MoniTool_CaseData_AddEntity(self, *args)

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

        Parameters
        ----------
        geom: Standard_Transient
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Geometric as a Transient (Curve, Surface ...).

        """
        return _MoniTool.MoniTool_CaseData_AddGeom(self, *args)

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

        Parameters
        ----------
        val: int
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds an Integer.

        """
        return _MoniTool.MoniTool_CaseData_AddInteger(self, *args)

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

        Parameters
        ----------
        theException: Standard_Failure
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds the currently caught exception.

        """
        return _MoniTool.MoniTool_CaseData_AddRaised(self, *args)

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

        Parameters
        ----------
        val: float
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Real.

        """
        return _MoniTool.MoniTool_CaseData_AddReal(self, *args)

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

        Parameters
        ----------
        v1: float
        v2: float
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds two reals (for instance, two parameters).

        """
        return _MoniTool.MoniTool_CaseData_AddReals(self, *args)

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

        Parameters
        ----------
        sh: TopoDS_Shape
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Shape (recorded as a HShape).

        """
        return _MoniTool.MoniTool_CaseData_AddShape(self, *args)

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

        Parameters
        ----------
        text: str
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a Text (as HAsciiString).

        """
        return _MoniTool.MoniTool_CaseData_AddText(self, *args)

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

        Parameters
        ----------
        aXY: gp_XY
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a XY.

        """
        return _MoniTool.MoniTool_CaseData_AddXY(self, *args)

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

        Parameters
        ----------
        aXYZ: gp_XYZ
        name: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds a XYZ.

        """
        return _MoniTool.MoniTool_CaseData_AddXYZ(self, *args)

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

        Description
        -----------
        Returns the CaseId.

        """
        return _MoniTool.MoniTool_CaseData_CaseId(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        opencascade::handle<Standard_Transient>

        Description
        -----------
        Returns a data item (n0 <nd> in the set <num>).

        """
        return _MoniTool.MoniTool_CaseData_Data(self, *args)

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

        Parameters
        ----------
        acode: str

        Return
        -------
        int

        Description
        -----------
        Returns Check Status for a Code: 0 non/info (default), 1 warning, 2 fail //! Remark: DefCheck is used to set the check status of a CaseData when it is attached to a case code, it can be changed later (by SetFail, SetWarning, ResetCheck).

        """
        return _MoniTool.MoniTool_CaseData_DefCheck(*args)

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

        Parameters
        ----------
        casecode: str

        Return
        -------
        str

        Description
        -----------
        Returns the message definition for a case code Empty if no message attached.

        """
        return _MoniTool.MoniTool_CaseData_DefMsg(*args)

    def GetCPU(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the current amount of CPU This allows to laterly test and record CPU amount Its value has to be given to LargeCPU and AddCPU.

        """
        return _MoniTool.MoniTool_CaseData_GetCPU(self, *args)

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

        Parameters
        ----------
        nd: int
        type: Standard_Type
        val: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Returns a data item, under control of a Type If the data item is kind of this type, it is returned in <val> and the returned value is True Else, <val> is unchanged and the returned value is False.

        """
        return _MoniTool.MoniTool_CaseData_GetData(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        val: int

        Description
        -----------
        Returns an Integer.

        """
        return _MoniTool.MoniTool_CaseData_Integer(self, *args)

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

        Description
        -----------
        Tells if <self> is Check (Warning or Fail), else it is Info.

        """
        return _MoniTool.MoniTool_CaseData_IsCheck(self, *args)

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

        Description
        -----------
        Tells if <self> is Fail.

        """
        return _MoniTool.MoniTool_CaseData_IsFail(self, *args)

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

        Description
        -----------
        Tells if <self> is Warning.

        """
        return _MoniTool.MoniTool_CaseData_IsWarning(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        int

        Description
        -----------
        Returns the kind of a data: KIND TYPE MEANING 0 ANY any (not one of the following) 1 EX raised exception 2 EN entity 3 G geom 4 SH shape 5 XYZ XYZ 6 XY or UV XY 7 RR 2 reals 8 R 1 real 9 CPU CPU (1 real) 10 T text 11 I integer //! For NameNum, these codes for TYPE must be given exact i.e. SH for a Shape, not S nor SHAPE nor SOLID etc.

        """
        return _MoniTool.MoniTool_CaseData_Kind(self, *args)

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

        Parameters
        ----------
        maxCPU: float
        lastCPU: float
        curCPU: float (optional, default to 0)

        Return
        -------
        bool

        Description
        -----------
        Tells if a CPU time amount is large <maxCPU> gives the amount over which an amount is large <lastCPU> gives the start CPU amount if <curCPU> is given, the tested CPU amount is curCPU-lastCPU else it is currently measured CPU - lastCPU.

        """
        return _MoniTool.MoniTool_CaseData_LargeCPU(self, *args)

    def Msg(self, *args):
        r"""
        Return
        -------
        Message_Msg

        Description
        -----------
        Returns a Msg from a CaseData: it is build from DefMsg, which gives the message code plus the designation of items of the CaseData to be added to the Msg Empty if no message attached //! Remains to be implemented.

        """
        return _MoniTool.MoniTool_CaseData_Msg(self, *args)

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

        Description
        -----------
        Returns the Name.

        Parameters
        ----------
        nd: int

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Returns the name of a data. If it has no name, the string is empty (length = 0).

        """
        return _MoniTool.MoniTool_CaseData_Name(self, *args)

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

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

        Return
        -------
        int

        Description
        -----------
        Returns the first suitable data rank for a given name Exact matching (exact case, no completion) is required Firstly checks the recorded names If not found, considers the name as follows: Name = 'TYPE': search for the first item with this TYPE Name = 'TYPE:nn': search for the nn.th item with this TYPE See allowed values in method Kind.

        """
        return _MoniTool.MoniTool_CaseData_NameNum(self, *args)

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

        Description
        -----------
        Returns the count of data recorded to a set.

        """
        return _MoniTool.MoniTool_CaseData_NbData(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        val: float

        Description
        -----------
        Returns a real or CPU amount (stored in Geom2d_CartesianPoint) (allows an Integer converted to a Real).

        """
        return _MoniTool.MoniTool_CaseData_Real(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        v1: float
        v2: float

        Description
        -----------
        Returns a couple of reals (stored in Geom2d_CartesianPoint).

        """
        return _MoniTool.MoniTool_CaseData_Reals(self, *args)

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

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

        Return
        -------
        None

        Description
        -----------
        Removes a Data from its rank. Does nothing if out of range.

        """
        return _MoniTool.MoniTool_CaseData_RemoveData(self, *args)

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

        Description
        -----------
        Resets Check Status, i.e. sets <self> as Info.

        """
        return _MoniTool.MoniTool_CaseData_ResetCheck(self, *args)

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

        Parameters
        ----------
        caseid: str

        Return
        -------
        None

        Description
        -----------
        Sets a CaseId.

        """
        return _MoniTool.MoniTool_CaseData_SetCaseId(self, *args)

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

        Description
        -----------
        Sets the next Add... not to add but to change the data item designated by its name. If next Add... is not called with a name, SetChange is ignored Reset by next Add... , whatever <num> is correct or not.

        """
        return _MoniTool.MoniTool_CaseData_SetChange(self, *args)

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

        Parameters
        ----------
        acode: str

        Return
        -------
        None

        Description
        -----------
        Sets a Code to give a Fail.

        """
        return _MoniTool.MoniTool_CaseData_SetDefFail(*args)

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

        Parameters
        ----------
        casecode: str
        mesdef: str

        Return
        -------
        None

        Description
        -----------
        Attaches a message definition to a case code This definition includes the message code plus designation of items of the CaseData to be added to the message (this part not yet implemented).

        """
        return _MoniTool.MoniTool_CaseData_SetDefMsg(*args)

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

        Parameters
        ----------
        acode: str

        Return
        -------
        None

        Description
        -----------
        Sets a Code to give a Warning.

        """
        return _MoniTool.MoniTool_CaseData_SetDefWarning(*args)

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

        Description
        -----------
        Sets <self> as Fail.

        """
        return _MoniTool.MoniTool_CaseData_SetFail(self, *args)

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

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

        Return
        -------
        None

        Description
        -----------
        Sets a Name.

        """
        return _MoniTool.MoniTool_CaseData_SetName(self, *args)

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

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

        Return
        -------
        None

        Description
        -----------
        Sets the next Add... not to add but to replace the data item <num>, if <num> is between 1 and NbData. Reset by next Add... , whatever <num> is correct or not.

        """
        return _MoniTool.MoniTool_CaseData_SetReplace(self, *args)

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

        Description
        -----------
        Sets <self> as Warning.

        """
        return _MoniTool.MoniTool_CaseData_SetWarning(self, *args)

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

        Parameters
        ----------
        nd: int

        Return
        -------
        TopoDS_Shape

        Description
        -----------
        Returns a data as a shape, Null if not a shape.

        """
        return _MoniTool.MoniTool_CaseData_Shape(self, *args)

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

        Parameters
        ----------
        nd: int
        text: str

        Return
        -------
        bool

        Description
        -----------
        Returns a text (stored in TCollection_HAsciiString).

        """
        return _MoniTool.MoniTool_CaseData_Text(self, *args)

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

        Parameters
        ----------
        nd: int
        val: gp_XY

        Return
        -------
        bool

        Description
        -----------
        Returns a data as a XY (i.e. Geom2d_CartesianPoint) Returns False if not the good type.

        """
        return _MoniTool.MoniTool_CaseData_XY(self, *args)

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

        Parameters
        ----------
        nd: int
        val: gp_XYZ

        Return
        -------
        bool

        Description
        -----------
        Returns a data as a XYZ (i.e. Geom_CartesianPoint) Returns False if not the good type.

        """
        return _MoniTool.MoniTool_CaseData_XYZ(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_CaseData

# Register MoniTool_CaseData in _MoniTool:
_MoniTool.MoniTool_CaseData_swigregister(MoniTool_CaseData)
class MoniTool_DataInfo(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

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

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

        Return
        -------
        opencascade::handle<Standard_Type>

        Description
        -----------
        Returns the Type attached to an object Here, the Dynamic Type of a Transient. Null Type if unknown.

        """
        return _MoniTool.MoniTool_DataInfo_Type(*args)

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

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

        Return
        -------
        str

        Description
        -----------
        Returns Type Name (string) Allows to name type of non-handled objects.

        """
        return _MoniTool.MoniTool_DataInfo_TypeName(*args)

    __repr__ = _dumps_object


    def __init__(self):
        _MoniTool.MoniTool_DataInfo_swiginit(self, _MoniTool.new_MoniTool_DataInfo())
    __swig_destroy__ = _MoniTool.delete_MoniTool_DataInfo

# Register MoniTool_DataInfo in _MoniTool:
_MoniTool.MoniTool_DataInfo_swigregister(MoniTool_DataInfo)
class MoniTool_Element(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 ChangeAttr(self, *args):
        r"""
        Return
        -------
        MoniTool_AttrList

        Description
        -----------
        Returns (modifiable) the Attribute List.

        """
        return _MoniTool.MoniTool_Element_ChangeAttr(self, *args)

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

        Parameters
        ----------
        other: MoniTool_Element

        Return
        -------
        bool

        Description
        -----------
        Specific testof equality: to be defined by each sub-class, must be False if Elements have not the same true Type, else their contents must be compared.

        """
        return _MoniTool.MoniTool_Element_Equates(self, *args)

    def GetHashCode(self, *args):
        r"""
        Return
        -------
        size_t

        Description
        -----------
        Returns the HashCode which has been stored by SetHashCode (remark that HashCode could be deferred then be defined by sub-classes, the result is the same).

        """
        return _MoniTool.MoniTool_Element_GetHashCode(self, *args)

    def ListAttr(self, *args):
        r"""
        Return
        -------
        MoniTool_AttrList

        Description
        -----------
        Returns (readonly) the Attribute List.

        """
        return _MoniTool.MoniTool_Element_ListAttr(self, *args)

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

        Description
        -----------
        Returns the Type of the Value. By default, returns the DynamicType of <self>, but can be redefined.

        """
        return _MoniTool.MoniTool_Element_ValueType(self, *args)

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

        Description
        -----------
        Returns the name of the Type of the Value. Default is name of ValueType, unless it is for a non-handled object.

        """
        return _MoniTool.MoniTool_Element_ValueTypeName(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_Element

# Register MoniTool_Element in _MoniTool:
_MoniTool.MoniTool_Element_swigregister(MoniTool_Element)
class MoniTool_IntVal(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
        ----------
        val: int (optional, default to 0)

        Return
        -------
        None

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

        """
        _MoniTool.MoniTool_IntVal_swiginit(self, _MoniTool.new_MoniTool_IntVal(*args))

    def GetCValue(self):
        r"""GetCValue(MoniTool_IntVal self) -> Standard_Integer"""
        return _MoniTool.MoniTool_IntVal_GetCValue(self)

    def SetCValue(self, value):
        r"""SetCValue(MoniTool_IntVal self, Standard_Integer value)"""
        return _MoniTool.MoniTool_IntVal_SetCValue(self, value)

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

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

        """
        return _MoniTool.MoniTool_IntVal_Value(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_IntVal

# Register MoniTool_IntVal in _MoniTool:
_MoniTool.MoniTool_IntVal_swigregister(MoniTool_IntVal)
class MoniTool_RealVal(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
        ----------
        val: float (optional, default to 0.0)

        Return
        -------
        None

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

        """
        _MoniTool.MoniTool_RealVal_swiginit(self, _MoniTool.new_MoniTool_RealVal(*args))

    def GetCValue(self):
        r"""GetCValue(MoniTool_RealVal self) -> Standard_Real"""
        return _MoniTool.MoniTool_RealVal_GetCValue(self)

    def SetCValue(self, value):
        r"""SetCValue(MoniTool_RealVal self, Standard_Real value)"""
        return _MoniTool.MoniTool_RealVal_SetCValue(self, value)

    def Value(self, *args):
        r"""
        Return
        -------
        float

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

        """
        return _MoniTool.MoniTool_RealVal_Value(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_RealVal

# Register MoniTool_RealVal in _MoniTool:
_MoniTool.MoniTool_RealVal_swigregister(MoniTool_RealVal)
class MoniTool_SignText(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 Name(self, *args):
        r"""
        Return
        -------
        str

        Description
        -----------
        Returns an identification of the Signature (a word), given at initialization time.

        """
        return _MoniTool.MoniTool_SignText_Name(self, *args)

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

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

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Gives a text as a signature for a transient object in a context If the context is senseless, it can be given as Null Handle empty result if nothing to give (at least the DynamicType could be sent ?).

        """
        return _MoniTool.MoniTool_SignText_Text(self, *args)

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

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

        Return
        -------
        TCollection_AsciiString

        Description
        -----------
        Gives a text as a signature for a transient object alone, i.e. without defined context. By default, calls Text with undefined context (Null Handle) and if empty, then returns DynamicType.

        """
        return _MoniTool.MoniTool_SignText_TextAlone(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_SignText

# Register MoniTool_SignText in _MoniTool:
_MoniTool.MoniTool_SignText_swigregister(MoniTool_SignText)
class MoniTool_Stat(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
        ----------
        title: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates a Stat form. At start, one default phase is defined, with one default step. Then, it suffises to start with a count of items (and cycles if several) then record items, to have a queryable report.

        Parameters
        ----------
        other: MoniTool_Stat

        Return
        -------
        None

        Description
        -----------
        used when starting.

        """
        _MoniTool.MoniTool_Stat_swiginit(self, _MoniTool.new_MoniTool_Stat(*args))

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

        Parameters
        ----------
        nb: int (optional, default to 1)

        Return
        -------
        None

        Description
        -----------
        Directly adds items.

        """
        return _MoniTool.MoniTool_Stat_Add(self, *args)

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

        Description
        -----------
        Ends the AddSub and cumulates the sub-count to current level.

        """
        return _MoniTool.MoniTool_Stat_AddEnd(self, *args)

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

        Parameters
        ----------
        nb: int (optional, default to 1)

        Return
        -------
        None

        Description
        -----------
        Declares a count of items to be added later. If a sub-counter is opened, its percentage multiplies this sub-count to compute the percent of current level.

        """
        return _MoniTool.MoniTool_Stat_AddSub(self, *args)

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

        Parameters
        ----------
        id: int

        Return
        -------
        None

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

        """
        return _MoniTool.MoniTool_Stat_Close(self, *args)

    @staticmethod
    def Current(*args):
        r"""
        Return
        -------
        MoniTool_Stat

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

        """
        return _MoniTool.MoniTool_Stat_Current(*args)

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

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

        """
        return _MoniTool.MoniTool_Stat_Level(self, *args)

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

        Parameters
        ----------
        nb: int (optional, default to 100)

        Return
        -------
        int

        Description
        -----------
        Opens a new counter with a starting count of items.

        """
        return _MoniTool.MoniTool_Stat_Open(self, *args)

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

        Parameters
        ----------
        id: int
        nb: int

        Return
        -------
        None

        Description
        -----------
        Adds more items to be counted by Add... on current level.

        """
        return _MoniTool.MoniTool_Stat_OpenMore(self, *args)

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

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

        Return
        -------
        float

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

        """
        return _MoniTool.MoniTool_Stat_Percent(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_Stat

# Register MoniTool_Stat in _MoniTool:
_MoniTool.MoniTool_Stat_swigregister(MoniTool_Stat)
class MoniTool_Timer(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
        -----------
        Create timer in empty state.

        """
        _MoniTool.MoniTool_Timer_swiginit(self, _MoniTool.new_MoniTool_Timer(*args))

    def Amend(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Return value of accumulated amendment on CPU time.

        """
        return _MoniTool.MoniTool_Timer_Amend(self, *args)

    def CPU(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Return value of CPU time minus accumulated amendment.

        """
        return _MoniTool.MoniTool_Timer_CPU(self, *args)

    @staticmethod
    def ClearTimers(*args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Clears map of timers.

        """
        return _MoniTool.MoniTool_Timer_ClearTimers(*args)

    @staticmethod
    def ComputeAmendments(*args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Computes and remembers amendments for times to access, start, and stop of timer, and estimates second-order error measured by 10 nested timers.

        """
        return _MoniTool.MoniTool_Timer_ComputeAmendments(*args)

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

        Description
        -----------
        Return value of hits counter (count of Start/Stop pairs).

        """
        return _MoniTool.MoniTool_Timer_Count(self, *args)

    @staticmethod
    def Dictionary(*args):
        r"""
        Return
        -------
        MoniTool_DataMapOfTimer

        Description
        -----------
        Returns map of timers.

        """
        return _MoniTool.MoniTool_Timer_Dictionary(*args)

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

        Parameters
        ----------

        Return
        -------
        ostr: Standard_OStream

        Description
        -----------
        Dumps current state of a timer shortly (one-line output).

        """
        return _MoniTool.MoniTool_Timer_Dump(self, *args)

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

        Parameters
        ----------

        Return
        -------
        ostr: Standard_OStream

        Description
        -----------
        Dumps contents of the whole dictionary.

        """
        return _MoniTool.MoniTool_Timer_DumpTimers(*args)

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

        Parameters
        ----------

        Return
        -------
        Access: float
        Internal: float
        External: float
        Error10: float

        Description
        -----------
        The computed amendmens are returned (for information only).

        """
        return _MoniTool.MoniTool_Timer_GetAmendments(*args)

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

        Description
        -----------
        Returns value of nesting counter.

        """
        return _MoniTool.MoniTool_Timer_IsRunning(self, *args)

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

        Description
        -----------
        Start, Stop and reset the timer In addition to doing that to embedded OSD_Timer, manage also counter of hits.

        """
        return _MoniTool.MoniTool_Timer_Reset(self, *args)

    @staticmethod
    def Start(*args):
        r"""
        Return
        -------
        None

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

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

        Return
        -------
        None

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

        """
        return _MoniTool.MoniTool_Timer_Start(*args)

    @staticmethod
    def Stop(*args):
        r"""
        Return
        -------
        None

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

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

        Return
        -------
        None

        Description
        -----------
        Inline methods to conveniently start/stop timer by name Shortcut to Timer(name)->Start/Stop().

        """
        return _MoniTool.MoniTool_Timer_Stop(*args)

    @staticmethod
    def Timer(*args):
        r"""
        Return
        -------
        OSD_Timer

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

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

        Return
        -------
        opencascade::handle<MoniTool_Timer>

        Description
        -----------
        Returns a timer from a dictionary by its name If timer not existed, creates a new one.

        """
        return _MoniTool.MoniTool_Timer_Timer(*args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_Timer

# Register MoniTool_Timer in _MoniTool:
_MoniTool.MoniTool_Timer_swigregister(MoniTool_Timer)
class MoniTool_TimerSentry(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
        ----------
        cname: str

        Return
        -------
        None

        Description
        -----------
        Constructor creates an instance and runs the corresponding timer.

        Parameters
        ----------
        timer: MoniTool_Timer

        Return
        -------
        None

        Description
        -----------
        Constructor creates an instance and runs the corresponding timer.

        """
        _MoniTool.MoniTool_TimerSentry_swiginit(self, _MoniTool.new_MoniTool_TimerSentry(*args))

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

        Description
        -----------
        Manually stops the timer.

        """
        return _MoniTool.MoniTool_TimerSentry_Stop(self, *args)

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

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

        """
        return _MoniTool.MoniTool_TimerSentry_Timer(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_TimerSentry

# Register MoniTool_TimerSentry in _MoniTool:
_MoniTool.MoniTool_TimerSentry_swigregister(MoniTool_TimerSentry)
class MoniTool_TypedValue(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
        ----------
        name: str
        type: MoniTool_ValueType (optional, default to MoniTool_ValueText)
        init: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Creates a TypedValue, with a name //! type gives the type of the parameter, default is free text Also available: Integer, Real, Enum, Entity (i.e. Object) More precise specifications, titles, can be given to the TypedValue once created //! init gives an initial value. If it is not given, the TypedValue begins as 'not set', its value is empty.

        Parameters
        ----------
        other: MoniTool_TypedValue

        Return
        -------
        None

        Description
        -----------
        Creates a TypedValue from another one, by duplication.

        """
        _MoniTool.MoniTool_TypedValue_swiginit(self, _MoniTool.new_MoniTool_TypedValue(*args))

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

        Parameters
        ----------
        initext: str

        Return
        -------
        bool

        Description
        -----------
        Completes the definition of a TypedValue by command <initext>, once created with its type Returns True if done, False if could not be interpreted <initext> may be: imin ival: minimum value for an integer imax ival: maximum value for an integer rmin rval: minimum value for a real rmax rval: maximum value for a real unit name: name of unit ematch i: enum from integer value i, match required enum i: enum from integer value i, match not required eval text: add an enumerative value (increments max by 1) eval: add a non-authorised enum value (to be skipped) tmax l: maximum length for a text.

        """
        return _MoniTool.MoniTool_TypedValue_AddDef(self, *args)

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

        Parameters
        ----------
        v1: str (optional, default to )
        v2: str (optional, default to )
        v3: str (optional, default to )
        v4: str (optional, default to )
        v5: str (optional, default to )
        v6: str (optional, default to )
        v7: str (optional, default to )
        v8: str (optional, default to )
        v9: str (optional, default to )
        v10: str (optional, default to )

        Return
        -------
        None

        Description
        -----------
        Adds enumerative definitions. For more than 10, several calls.

        """
        return _MoniTool.MoniTool_TypedValue_AddEnum(self, *args)

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

        Parameters
        ----------
        val: str
        num: int

        Return
        -------
        None

        Description
        -----------
        Adds an enumeration definition, by its string and numeric values. If it is the first setting for this value, it is recorded as main value. Else, it is recognized as alternate string for this numeric value.

        """
        return _MoniTool.MoniTool_TypedValue_AddEnumValue(self, *args)

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

        Parameters
        ----------
        tv: MoniTool_TypedValue
        def: str (optional, default to )

        Return
        -------
        bool

        Description
        -----------
        Adds a TypedValue in the library. It is recorded then will be accessed by its Name Its Definition may be imposed, else it is computed as usual By default it will be accessed by its Definition (string) Returns True if done, False if tv is Null or brings no Definition or <def> not defined //! If a TypedValue was already recorded under this name, it is replaced.

        """
        return _MoniTool.MoniTool_TypedValue_AddLib(*args)

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

        Description
        -----------
        Returns the value, as a cstring. Empty if not set.

        """
        return _MoniTool.MoniTool_TypedValue_CStringValue(self, *args)

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

        Description
        -----------
        Clears the recorded Value: it is now unset.

        """
        return _MoniTool.MoniTool_TypedValue_ClearValue(self, *args)

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

        Description
        -----------
        Returns the Definition By priority, the enforced one, else an automatic one, computed from the specification.

        """
        return _MoniTool.MoniTool_TypedValue_Definition(self, *args)

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

        Parameters
        ----------
        val: str

        Return
        -------
        int

        Description
        -----------
        Returns the case number which corresponds to a string value Works with main and additional values Returns (StartEnum - 1) if not OK, -1 if not an Enum.

        """
        return _MoniTool.MoniTool_TypedValue_EnumCase(self, *args)

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

        Parameters
        ----------

        Return
        -------
        startcase: int
        endcase: int
        match: bool

        Description
        -----------
        Gives the Enum definitions: start value, end value, match status. Returns True for an Enum, False else.

        """
        return _MoniTool.MoniTool_TypedValue_EnumDef(self, *args)

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

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

        Return
        -------
        str

        Description
        -----------
        Returns the value of an enumerative definition, from its rank Empty string if out of range or not an Enum.

        """
        return _MoniTool.MoniTool_TypedValue_EnumVal(self, *args)

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

        Parameters
        ----------
        def: str

        Return
        -------
        opencascade::handle<MoniTool_TypedValue>

        Description
        -----------
        Returns a COPY of the TypedValue bound with a given Name Null Handle if none recorded.

        """
        return _MoniTool.MoniTool_TypedValue_FromLib(*args)

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

        Parameters
        ----------
        val: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        Same as ObjectValue, but avoids DownCast: the receiving variable is directly loaded. It is assumed that it complies with the definition of ObjectType ! Otherwise, big trouble.

        """
        return _MoniTool.MoniTool_TypedValue_GetObjectValue(self, *args)

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

        Description
        -----------
        Returns the value, as a Handle (can then be shared) Null if not defined.

        """
        return _MoniTool.MoniTool_TypedValue_HStringValue(self, *args)

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

        Description
        -----------
        Tells if a TypedValue has an Interpret.

        """
        return _MoniTool.MoniTool_TypedValue_HasInterpret(self, *args)

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

        Parameters
        ----------
        max: bool

        Return
        -------
        val: int

        Description
        -----------
        Gives an Integer Limit (upper if <max> True, lower if <max> False). Returns True if this limit is defined, False else (in that case, gives the natural limit for Integer).

        """
        return _MoniTool.MoniTool_TypedValue_IntegerLimit(self, *args)

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

        Description
        -----------
        Returns the value as integer, i.e.: For type = Integer, the integer itself; 0 if not set For type = Enum, the designated rank (see Enum definition) StartEnum - 1 if not set or not in the definition Else, returns 0.

        """
        return _MoniTool.MoniTool_TypedValue_IntegerValue(self, *args)

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

        Parameters
        ----------
        interp: MoniTool_ValueInterpret
        satisf: MoniTool_ValueSatisfies
        satisname: str
        enums: NCollection_DataMap<TCollection_AsciiString, int>

        Return
        -------
        None

        Description
        -----------
        Access to internal data which have no other access.

        """
        return _MoniTool.MoniTool_TypedValue_Internals(self, *args)

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

        Parameters
        ----------
        hval: TCollection_HAsciiString
        native: bool

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

        Description
        -----------
        Interprets a value. <native> True: returns a native value <native> False: returns a coded value If the Interpret function is set, calls it Else, for an Enum, Native returns the Text, Coded returns the number STANDARD RETURNS: = hval means no specific interpretation Null means senseless Can also be redefined.

        """
        return _MoniTool.MoniTool_TypedValue_Interpret(self, *args)

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

        Description
        -----------
        Returns True if the value is set (not empty/not null object).

        """
        return _MoniTool.MoniTool_TypedValue_IsSetValue(self, *args)

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

        Description
        -----------
        Returns the label, if set; else returns an empty string.

        """
        return _MoniTool.MoniTool_TypedValue_Label(self, *args)

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

        Parameters
        ----------
        def: str

        Return
        -------
        opencascade::handle<MoniTool_TypedValue>

        Description
        -----------
        Returns the TypedValue bound with a given Name Null Handle if none recorded Warning: it is the original, not duplicated.

        """
        return _MoniTool.MoniTool_TypedValue_Lib(*args)

    @staticmethod
    def LibList(*args):
        r"""
        Return
        -------
        opencascade::handle<TColStd_HSequenceOfAsciiString>

        Description
        -----------
        Returns the list of names of items of the Library of Types -- Library of TypedValue as Valued Parameters, -- -- accessed by parameter name for use by management of Static Parameters.

        """
        return _MoniTool.MoniTool_TypedValue_LibList(*args)

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

        Description
        -----------
        Returns the maximum length, 0 if not set.

        """
        return _MoniTool.MoniTool_TypedValue_MaxLength(self, *args)

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

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

        """
        return _MoniTool.MoniTool_TypedValue_Name(self, *args)

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

        Description
        -----------
        Returns the type of which an Object TypedValue must be kind of Default is Standard_Transient Null for a TypedValue not an Object.

        """
        return _MoniTool.MoniTool_TypedValue_ObjectType(self, *args)

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

        Description
        -----------
        Returns the type name of the ObjectValue, or an empty string if not set.

        """
        return _MoniTool.MoniTool_TypedValue_ObjectTypeName(self, *args)

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

        Description
        -----------
        Returns the value as Transient Object, only for Object/Entity Remark that the 'HString value' is IGNORED here Null if not set; remains to be casted.

        """
        return _MoniTool.MoniTool_TypedValue_ObjectValue(self, *args)

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

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints definition, specification, and actual status and value.

        """
        return _MoniTool.MoniTool_TypedValue_Print(self, *args)

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

        Parameters
        ----------

        Return
        -------
        S: Standard_OStream

        Description
        -----------
        Prints only the Value.

        """
        return _MoniTool.MoniTool_TypedValue_PrintValue(self, *args)

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

        Parameters
        ----------
        max: bool

        Return
        -------
        val: float

        Description
        -----------
        Gives an Real Limit (upper if <max> True, lower if <max> False). Returns True if this limit is defined, False else (in that case, gives the natural limit for Real).

        """
        return _MoniTool.MoniTool_TypedValue_RealLimit(self, *args)

    def RealValue(self, *args):
        r"""
        Return
        -------
        float

        Description
        -----------
        Returns the value as real, for a Real type TypedValue Else, returns 0.

        """
        return _MoniTool.MoniTool_TypedValue_RealValue(self, *args)

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

        Parameters
        ----------
        hval: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Returns True if a value statifies the specification (remark: does not apply to Entity: see ObjectType, for this type, the string is just a comment).

        """
        return _MoniTool.MoniTool_TypedValue_Satisfies(self, *args)

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

        Description
        -----------
        Returns name of specific satisfy, empty string if none.

        """
        return _MoniTool.MoniTool_TypedValue_SatisfiesName(self, *args)

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

        Parameters
        ----------
        val: str

        Return
        -------
        bool

        Description
        -----------
        Changes the value. The new one must satisfy the specification Returns False (and did not set) if the new value does not satisfy the specification Can be redefined to be managed (in a subclass).

        """
        return _MoniTool.MoniTool_TypedValue_SetCStringValue(self, *args)

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

        Parameters
        ----------
        deftext: str

        Return
        -------
        None

        Description
        -----------
        Enforces a Definition.

        """
        return _MoniTool.MoniTool_TypedValue_SetDefinition(self, *args)

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

        Parameters
        ----------
        hval: TCollection_HAsciiString

        Return
        -------
        bool

        Description
        -----------
        Forces a new Handle for the Value It can be empty, else (if Type is not free Text), it must satisfy the specification. Not only the value is changed, but also the way it is shared Remark: for Type=Object, this value is not controlled, it can be set as a comment Returns False (and did not set) if the new value does not satisfy the specification Can be redefined to be managed (in a subclass).

        """
        return _MoniTool.MoniTool_TypedValue_SetHStringValue(self, *args)

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

        Parameters
        ----------
        max: bool
        val: int

        Return
        -------
        None

        Description
        -----------
        Sets an Integer limit (included) to <val>, the upper limit if <max> is True, the lower limit if <max> is False.

        """
        return _MoniTool.MoniTool_TypedValue_SetIntegerLimit(self, *args)

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

        Parameters
        ----------
        ival: int

        Return
        -------
        bool

        Description
        -----------
        Changes the value as an integer, only for Integer or Enum.

        """
        return _MoniTool.MoniTool_TypedValue_SetIntegerValue(self, *args)

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

        Parameters
        ----------
        func: MoniTool_ValueInterpret

        Return
        -------
        None

        Description
        -----------
        Sets a specific Interpret function.

        """
        return _MoniTool.MoniTool_TypedValue_SetInterpret(self, *args)

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

        Parameters
        ----------
        label: str

        Return
        -------
        None

        Description
        -----------
        Sets a label, which can then be displayed.

        """
        return _MoniTool.MoniTool_TypedValue_SetLabel(self, *args)

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

        Parameters
        ----------
        max: int

        Return
        -------
        None

        Description
        -----------
        Sets a maximum length for a text (active only for a free text).

        """
        return _MoniTool.MoniTool_TypedValue_SetMaxLength(self, *args)

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

        Parameters
        ----------
        typ: Standard_Type

        Return
        -------
        None

        Description
        -----------
        Sets type of which an Object TypedValue must be kind of Error for a TypedValue not an Object (Entity).

        """
        return _MoniTool.MoniTool_TypedValue_SetObjectType(self, *args)

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

        Parameters
        ----------
        obj: Standard_Transient

        Return
        -------
        bool

        Description
        -----------
        Changes the value as Transient Object, only for Object/Entity Returns False if DynamicType does not satisfy ObjectType Can be redefined to be managed (in a subclass).

        """
        return _MoniTool.MoniTool_TypedValue_SetObjectValue(self, *args)

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

        Parameters
        ----------
        max: bool
        val: float

        Return
        -------
        None

        Description
        -----------
        Sets a Real limit (included) to <val>, the upper limit if <max> is True, the lower limit if <max> is False.

        """
        return _MoniTool.MoniTool_TypedValue_SetRealLimit(self, *args)

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

        Parameters
        ----------
        rval: float

        Return
        -------
        bool

        Description
        -----------
        Changes the value as a real, only for Real.

        """
        return _MoniTool.MoniTool_TypedValue_SetRealValue(self, *args)

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

        Parameters
        ----------
        func: MoniTool_ValueSatisfies
        name: str

        Return
        -------
        None

        Description
        -----------
        Sets a specific Satisfies function: it is added to the already defined criteria It must match the form: satisfies (val: HAsciiString) returns Boolean.

        """
        return _MoniTool.MoniTool_TypedValue_SetSatisfies(self, *args)

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

        Parameters
        ----------
        def: str

        Return
        -------
        None

        Description
        -----------
        Sets (Clears if <def> empty) a unit definition, as an equation of dimensions. TypedValue just records this definition, does not exploit it, to be done as required by user applications.

        """
        return _MoniTool.MoniTool_TypedValue_SetUnitDef(self, *args)

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

        Parameters
        ----------
        start: int (optional, default to 0)
        match: bool (optional, default to Standard_True)

        Return
        -------
        None

        Description
        -----------
        For an enumeration, precises the starting value (default 0) and the match condition: if True (D), the string value must match the definition, else it may take another value: in that case, the Integer Value will be Start - 1. (empty value remains allowed).

        """
        return _MoniTool.MoniTool_TypedValue_StartEnum(self, *args)

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

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

        Return
        -------
        opencascade::handle<MoniTool_TypedValue>

        Description
        -----------
        Returns a static value from its name, null if unknown.

        """
        return _MoniTool.MoniTool_TypedValue_StaticValue(*args)

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

        Description
        -----------
        Returns the recorded unit definition, empty if not set.

        """
        return _MoniTool.MoniTool_TypedValue_UnitDef(self, *args)

    def ValueType(self, *args):
        r"""
        Return
        -------
        MoniTool_ValueType

        Description
        -----------
        Returns the type of the value.

        """
        return _MoniTool.MoniTool_TypedValue_ValueType(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_TypedValue

# Register MoniTool_TypedValue in _MoniTool:
_MoniTool.MoniTool_TypedValue_swigregister(MoniTool_TypedValue)
class MoniTool_SignShape(MoniTool_SignText):
    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
        -----------
        No available documentation.

        """
        _MoniTool.MoniTool_SignShape_swiginit(self, _MoniTool.new_MoniTool_SignShape(*args))


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_SignShape

# Register MoniTool_SignShape in _MoniTool:
_MoniTool.MoniTool_SignShape_swigregister(MoniTool_SignShape)
class MoniTool_TransientElem(MoniTool_Element):
    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
        ----------
        akey: Standard_Transient

        Return
        -------
        None

        Description
        -----------
        Creates a TransientElem with a Value. This Value can then not be changed. It is used by the Hasher to compute the HashCode, which will then be stored for an immediate reading.

        """
        _MoniTool.MoniTool_TransientElem_swiginit(self, _MoniTool.new_MoniTool_TransientElem(*args))

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

        Description
        -----------
        Returns the contained value.

        """
        return _MoniTool.MoniTool_TransientElem_Value(self, *args)


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


    __repr__ = _dumps_object

    __swig_destroy__ = _MoniTool.delete_MoniTool_TransientElem

# Register MoniTool_TransientElem in _MoniTool:
_MoniTool.MoniTool_TransientElem_swigregister(MoniTool_TransientElem)
class MoniTool_HSequenceOfElement(MoniTool_SequenceOfElement, 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):
        _MoniTool.MoniTool_HSequenceOfElement_swiginit(self, _MoniTool.new_MoniTool_HSequenceOfElement(*args))

    def Sequence(self):
        return _MoniTool.MoniTool_HSequenceOfElement_Sequence(self)

    def Append(self, *args):
        return _MoniTool.MoniTool_HSequenceOfElement_Append(self, *args)

    def ChangeSequence(self):
        return _MoniTool.MoniTool_HSequenceOfElement_ChangeSequence(self)


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

    __swig_destroy__ = _MoniTool.delete_MoniTool_HSequenceOfElement

# Register MoniTool_HSequenceOfElement in _MoniTool:
_MoniTool.MoniTool_HSequenceOfElement_swigregister(MoniTool_HSequenceOfElement)



@deprecated
def MoniTool_CaseData_DefCheck(*args):
	return MoniTool_CaseData.DefCheck(*args)

@deprecated
def MoniTool_CaseData_DefMsg(*args):
	return MoniTool_CaseData.DefMsg(*args)

@deprecated
def MoniTool_CaseData_SetDefFail(*args):
	return MoniTool_CaseData.SetDefFail(*args)

@deprecated
def MoniTool_CaseData_SetDefMsg(*args):
	return MoniTool_CaseData.SetDefMsg(*args)

@deprecated
def MoniTool_CaseData_SetDefWarning(*args):
	return MoniTool_CaseData.SetDefWarning(*args)

@deprecated
def MoniTool_DataInfo_Type(*args):
	return MoniTool_DataInfo.Type(*args)

@deprecated
def MoniTool_DataInfo_TypeName(*args):
	return MoniTool_DataInfo.TypeName(*args)

@deprecated
def MoniTool_Stat_Current(*args):
	return MoniTool_Stat.Current(*args)

@deprecated
def MoniTool_Timer_ClearTimers(*args):
	return MoniTool_Timer.ClearTimers(*args)

@deprecated
def MoniTool_Timer_ComputeAmendments(*args):
	return MoniTool_Timer.ComputeAmendments(*args)

@deprecated
def MoniTool_Timer_Dictionary(*args):
	return MoniTool_Timer.Dictionary(*args)

@deprecated
def MoniTool_Timer_DumpTimers(*args):
	return MoniTool_Timer.DumpTimers(*args)

@deprecated
def MoniTool_Timer_GetAmendments(*args):
	return MoniTool_Timer.GetAmendments(*args)

@deprecated
def MoniTool_Timer_Start(*args):
	return MoniTool_Timer.Start(*args)

@deprecated
def MoniTool_Timer_Stop(*args):
	return MoniTool_Timer.Stop(*args)

@deprecated
def MoniTool_Timer_Timer(*args):
	return MoniTool_Timer.Timer(*args)

@deprecated
def MoniTool_TypedValue_AddLib(*args):
	return MoniTool_TypedValue.AddLib(*args)

@deprecated
def MoniTool_TypedValue_FromLib(*args):
	return MoniTool_TypedValue.FromLib(*args)

@deprecated
def MoniTool_TypedValue_Lib(*args):
	return MoniTool_TypedValue.Lib(*args)

@deprecated
def MoniTool_TypedValue_LibList(*args):
	return MoniTool_TypedValue.LibList(*args)

@deprecated
def MoniTool_TypedValue_StaticValue(*args):
	return MoniTool_TypedValue.StaticValue(*args)



