# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _HKIPcamera
else:
import _HKIPcamera
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 == "thisown":
self.this.own(value)
elif name == "this":
set(self, name, 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__)
import sys as _sys
if _sys.byteorder == 'little':
_cv_numpy_endianess = '<'
else:
_cv_numpy_endianess = '>'
_cv_numpy_typestr_map = {}
_cv_numpy_bla = {}
CV_VERSION_MAJOR = _HKIPcamera.CV_VERSION_MAJOR
CV_VERSION_MINOR = _HKIPcamera.CV_VERSION_MINOR
CV_VERSION_REVISION = _HKIPcamera.CV_VERSION_REVISION
CV_VERSION_STATUS = _HKIPcamera.CV_VERSION_STATUS
CV_VERSION = _HKIPcamera.CV_VERSION
CV_MAJOR_VERSION = _HKIPcamera.CV_MAJOR_VERSION
CV_MINOR_VERSION = _HKIPcamera.CV_MINOR_VERSION
CV_SUBMINOR_VERSION = _HKIPcamera.CV_SUBMINOR_VERSION
class DataType_bool(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_bool_generic_type
channels = _HKIPcamera.DataType_bool_channels
fmt = _HKIPcamera.DataType_bool_fmt
def __init__(self):
_HKIPcamera.DataType_bool_swiginit(self, _HKIPcamera.new_DataType_bool())
__swig_destroy__ = _HKIPcamera.delete_DataType_bool
# Register DataType_bool in _HKIPcamera:
_HKIPcamera.DataType_bool_swigregister(DataType_bool)
class DataType_uchar(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_uchar_generic_type
channels = _HKIPcamera.DataType_uchar_channels
fmt = _HKIPcamera.DataType_uchar_fmt
def __init__(self):
_HKIPcamera.DataType_uchar_swiginit(self, _HKIPcamera.new_DataType_uchar())
__swig_destroy__ = _HKIPcamera.delete_DataType_uchar
# Register DataType_uchar in _HKIPcamera:
_HKIPcamera.DataType_uchar_swigregister(DataType_uchar)
class DataType_schar(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_schar_generic_type
channels = _HKIPcamera.DataType_schar_channels
fmt = _HKIPcamera.DataType_schar_fmt
def __init__(self):
_HKIPcamera.DataType_schar_swiginit(self, _HKIPcamera.new_DataType_schar())
__swig_destroy__ = _HKIPcamera.delete_DataType_schar
# Register DataType_schar in _HKIPcamera:
_HKIPcamera.DataType_schar_swigregister(DataType_schar)
class DataType_char(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_char_generic_type
channels = _HKIPcamera.DataType_char_channels
fmt = _HKIPcamera.DataType_char_fmt
def __init__(self):
_HKIPcamera.DataType_char_swiginit(self, _HKIPcamera.new_DataType_char())
__swig_destroy__ = _HKIPcamera.delete_DataType_char
# Register DataType_char in _HKIPcamera:
_HKIPcamera.DataType_char_swigregister(DataType_char)
class DataType_ushort(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_ushort_generic_type
channels = _HKIPcamera.DataType_ushort_channels
fmt = _HKIPcamera.DataType_ushort_fmt
def __init__(self):
_HKIPcamera.DataType_ushort_swiginit(self, _HKIPcamera.new_DataType_ushort())
__swig_destroy__ = _HKIPcamera.delete_DataType_ushort
# Register DataType_ushort in _HKIPcamera:
_HKIPcamera.DataType_ushort_swigregister(DataType_ushort)
class DataType_short(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_short_generic_type
channels = _HKIPcamera.DataType_short_channels
fmt = _HKIPcamera.DataType_short_fmt
def __init__(self):
_HKIPcamera.DataType_short_swiginit(self, _HKIPcamera.new_DataType_short())
__swig_destroy__ = _HKIPcamera.delete_DataType_short
# Register DataType_short in _HKIPcamera:
_HKIPcamera.DataType_short_swigregister(DataType_short)
class DataType_int(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_int_generic_type
channels = _HKIPcamera.DataType_int_channels
fmt = _HKIPcamera.DataType_int_fmt
def __init__(self):
_HKIPcamera.DataType_int_swiginit(self, _HKIPcamera.new_DataType_int())
__swig_destroy__ = _HKIPcamera.delete_DataType_int
# Register DataType_int in _HKIPcamera:
_HKIPcamera.DataType_int_swigregister(DataType_int)
class DataType_float(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_float_generic_type
channels = _HKIPcamera.DataType_float_channels
fmt = _HKIPcamera.DataType_float_fmt
def __init__(self):
_HKIPcamera.DataType_float_swiginit(self, _HKIPcamera.new_DataType_float())
__swig_destroy__ = _HKIPcamera.delete_DataType_float
# Register DataType_float in _HKIPcamera:
_HKIPcamera.DataType_float_swigregister(DataType_float)
class DataType_double(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
__repr__ = _swig_repr
generic_type = _HKIPcamera.DataType_double_generic_type
channels = _HKIPcamera.DataType_double_channels
fmt = _HKIPcamera.DataType_double_fmt
def __init__(self):
_HKIPcamera.DataType_double_swiginit(self, _HKIPcamera.new_DataType_double())
__swig_destroy__ = _HKIPcamera.delete_DataType_double
# Register DataType_double in _HKIPcamera:
_HKIPcamera.DataType_double_swigregister(DataType_double)
class Ra