# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# 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):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_pyupm_h3lis331dl')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_pyupm_h3lis331dl')
    _pyupm_h3lis331dl = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_pyupm_h3lis331dl', [dirname(__file__)])
        except ImportError:
            import _pyupm_h3lis331dl
            return _pyupm_h3lis331dl
        try:
            _mod = imp.load_module('_pyupm_h3lis331dl', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _pyupm_h3lis331dl = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_h3lis331dl
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0

import upm.pyupm_interfaces

def getVersion():
    return _pyupm_h3lis331dl.getVersion()
getVersion = _pyupm_h3lis331dl.getVersion
class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __sub__(self, *args):
        return _pyupm_h3lis331dl.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _pyupm_h3lis331dl.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

class intVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, intVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, intVector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.intVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.intVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.intVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.intVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.intVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.intVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.intVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.intVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.intVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.intVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.intVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.intVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.intVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.intVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.intVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.intVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.intVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.intVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.intVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.intVector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_h3lis331dl.new_intVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_h3lis331dl.intVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.intVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.intVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.intVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.intVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.intVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.intVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.intVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_intVector
    __del__ = lambda self: None
intVector_swigregister = _pyupm_h3lis331dl.intVector_swigregister
intVector_swigregister(intVector)

class int16Vector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, int16Vector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, int16Vector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.int16Vector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.int16Vector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.int16Vector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.int16Vector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.int16Vector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.int16Vector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.int16Vector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.int16Vector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.int16Vector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.int16Vector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.int16Vector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.int16Vector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.int16Vector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.int16Vector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.int16Vector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.int16Vector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.int16Vector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.int16Vector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.int16Vector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_h3lis331dl.new_int16Vector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_h3lis331dl.int16Vector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.int16Vector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.int16Vector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.int16Vector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.int16Vector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.int16Vector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.int16Vector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.int16Vector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_int16Vector
    __del__ = lambda self: None
int16Vector_swigregister = _pyupm_h3lis331dl.int16Vector_swigregister
int16Vector_swigregister(int16Vector)

class floatVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, floatVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, floatVector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.floatVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.floatVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.floatVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.floatVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.floatVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.floatVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.floatVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.floatVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.floatVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.floatVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.floatVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.floatVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.floatVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.floatVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.floatVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.floatVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.floatVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.floatVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.floatVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.floatVector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_h3lis331dl.new_floatVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_h3lis331dl.floatVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.floatVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.floatVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.floatVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.floatVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.floatVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.floatVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.floatVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_floatVector
    __del__ = lambda self: None
floatVector_swigregister = _pyupm_h3lis331dl.floatVector_swigregister
floatVector_swigregister(floatVector)

class doubleVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, doubleVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, doubleVector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.doubleVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.doubleVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.doubleVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.doubleVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.doubleVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.doubleVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.doubleVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.doubleVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.doubleVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.doubleVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.doubleVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.doubleVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.doubleVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.doubleVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.doubleVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.doubleVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.doubleVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.doubleVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.doubleVector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_h3lis331dl.new_doubleVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_h3lis331dl.doubleVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.doubleVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.doubleVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.doubleVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.doubleVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.doubleVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.doubleVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.doubleVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_doubleVector
    __del__ = lambda self: None
doubleVector_swigregister = _pyupm_h3lis331dl.doubleVector_swigregister
doubleVector_swigregister(doubleVector)

class byteVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, byteVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, byteVector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.byteVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.byteVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.byteVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.byteVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.byteVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.byteVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.byteVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.byteVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.byteVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.byteVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.byteVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.byteVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.byteVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.byteVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.byteVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.byteVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.byteVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.byteVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.byteVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.byteVector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_h3lis331dl.new_byteVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_h3lis331dl.byteVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.byteVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.byteVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.byteVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.byteVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.byteVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.byteVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.byteVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_byteVector
    __del__ = lambda self: None
byteVector_swigregister = _pyupm_h3lis331dl.byteVector_swigregister
byteVector_swigregister(byteVector)


def new_intp():
    return _pyupm_h3lis331dl.new_intp()
new_intp = _pyupm_h3lis331dl.new_intp

def copy_intp(value):
    return _pyupm_h3lis331dl.copy_intp(value)
copy_intp = _pyupm_h3lis331dl.copy_intp

def delete_intp(obj):
    return _pyupm_h3lis331dl.delete_intp(obj)
delete_intp = _pyupm_h3lis331dl.delete_intp

def intp_assign(obj, value):
    return _pyupm_h3lis331dl.intp_assign(obj, value)
intp_assign = _pyupm_h3lis331dl.intp_assign

def intp_value(obj):
    return _pyupm_h3lis331dl.intp_value(obj)
intp_value = _pyupm_h3lis331dl.intp_value

def new_floatp():
    return _pyupm_h3lis331dl.new_floatp()
new_floatp = _pyupm_h3lis331dl.new_floatp

def copy_floatp(value):
    return _pyupm_h3lis331dl.copy_floatp(value)
copy_floatp = _pyupm_h3lis331dl.copy_floatp

def delete_floatp(obj):
    return _pyupm_h3lis331dl.delete_floatp(obj)
delete_floatp = _pyupm_h3lis331dl.delete_floatp

def floatp_assign(obj, value):
    return _pyupm_h3lis331dl.floatp_assign(obj, value)
floatp_assign = _pyupm_h3lis331dl.floatp_assign

def floatp_value(obj):
    return _pyupm_h3lis331dl.floatp_value(obj)
floatp_value = _pyupm_h3lis331dl.floatp_value
H3LIS331DL_I2C_BUS = _pyupm_h3lis331dl.H3LIS331DL_I2C_BUS
H3LIS331DL_DEFAULT_I2C_ADDR = _pyupm_h3lis331dl.H3LIS331DL_DEFAULT_I2C_ADDR
class H3LIS331DL(upm.pyupm_interfaces.iAcceleration):
    __swig_setmethods__ = {}
    for _s in [upm.pyupm_interfaces.iAcceleration]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, H3LIS331DL, name, value)
    __swig_getmethods__ = {}
    for _s in [upm.pyupm_interfaces.iAcceleration]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, H3LIS331DL, name)
    __repr__ = _swig_repr
    REG_WHOAMI = _pyupm_h3lis331dl.H3LIS331DL_REG_WHOAMI
    REG_REG1 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG1
    REG_REG2 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG2
    REG_REG3 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG3
    REG_REG4 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG4
    REG_REG5 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG5
    REG_HP_FILTER_RESET = _pyupm_h3lis331dl.H3LIS331DL_REG_HP_FILTER_RESET
    REG_REFERENCE = _pyupm_h3lis331dl.H3LIS331DL_REG_REFERENCE
    REG_STATUS = _pyupm_h3lis331dl.H3LIS331DL_REG_STATUS
    REG_OUT_X_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_X_L
    REG_OUT_X_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_X_H
    REG_OUT_Y_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Y_L
    REG_OUT_Y_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Y_H
    REG_OUT_Z_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Z_L
    REG_OUT_Z_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Z_H
    REG_INT1_CFG = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_CFG
    REG_INT1_SRC = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_SRC
    REG_INT1_THS = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_THS
    REG_INT1_DUR = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_DUR
    REG_INT2_CFG = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_CFG
    REG_INT2_SRC = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_SRC
    REG_INT2_THS = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_THS
    REG_INT2_DUR = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_DUR
    REG1_XEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_XEN
    REG1_YEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_YEN
    REG1_ZEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_ZEN
    REG1_DR0 = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR0
    REG1_DR1 = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR1
    REG1_DR_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR_SHIFT
    REG1_PM0 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM0
    REG1_PM1 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM1
    REG1_PM2 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM2
    REG1_PM_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM_SHIFT
    DR_50_37 = _pyupm_h3lis331dl.H3LIS331DL_DR_50_37
    DR_100_74 = _pyupm_h3lis331dl.H3LIS331DL_DR_100_74
    DR_400_292 = _pyupm_h3lis331dl.H3LIS331DL_DR_400_292
    DR_1000_780 = _pyupm_h3lis331dl.H3LIS331DL_DR_1000_780
    PM_POWERDWN = _pyupm_h3lis331dl.H3LIS331DL_PM_POWERDWN
    PM_NORMAL = _pyupm_h3lis331dl.H3LIS331DL_PM_NORMAL
    PM_LP05 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP05
    PM_LP1 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP1
    PM_LP2 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP2
    PM_LP5 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP5
    PM_LP10 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP10
    REG2_HPCF0 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF0
    REG2_HPCF1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF1
    REG2_HPCF_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF_SHIFT
    REG2_HPEN1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPEN1
    REG2_HPEN2 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPEN2
    REG2_FDS = _pyupm_h3lis331dl.H3LIS331DL_REG2_FDS
    REG2_HPM0 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM0
    REG2_HPM1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM1
    REG2_HPM_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM_SHIFT
    REG2_BOOT = _pyupm_h3lis331dl.H3LIS331DL_REG2_BOOT
    HPCF_8 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_8
    HPCF_16 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_16
    HPCF_32 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_32
    HPCF_64 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_64
    HPM_NORMAL0 = _pyupm_h3lis331dl.H3LIS331DL_HPM_NORMAL0
    HPM_REF = _pyupm_h3lis331dl.H3LIS331DL_HPM_REF
    HPM_NORMAL1 = _pyupm_h3lis331dl.H3LIS331DL_HPM_NORMAL1
    REG3_I1_CFG0 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG0
    REG3_I1_CFG1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG1
    REG3_I1_CFG_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG_SHIFT
    REG3_LIR1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_LIR1
    REG3_I2_CFG0 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG0
    REG3_I2_CFG1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG1
    REG3_I2_CFG_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG_SHIFT
    REG3_LIR2 = _pyupm_h3lis331dl.H3LIS331DL_REG3_LIR2
    REG3_PP_OD = _pyupm_h3lis331dl.H3LIS331DL_REG3_PP_OD
    REG3_IHL = _pyupm_h3lis331dl.H3LIS331DL_REG3_IHL
    I_SRC = _pyupm_h3lis331dl.H3LIS331DL_I_SRC
    I_OR = _pyupm_h3lis331dl.H3LIS331DL_I_OR
    I_DR = _pyupm_h3lis331dl.H3LIS331DL_I_DR
    I_BOOTING = _pyupm_h3lis331dl.H3LIS331DL_I_BOOTING
    REG4_SIM = _pyupm_h3lis331dl.H3LIS331DL_REG4_SIM
    REG4_FS0 = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS0
    REG4_FS1 = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS1
    REG4_FS_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS_SHIFT
    REG4_BLE = _pyupm_h3lis331dl.H3LIS331DL_REG4_BLE
    REG4_BDU = _pyupm_h3lis331dl.H3LIS331DL_REG4_BDU
    FS_100 = _pyupm_h3lis331dl.H3LIS331DL_FS_100
    FS_200 = _pyupm_h3lis331dl.H3LIS331DL_FS_200
    FS_400 = _pyupm_h3lis331dl.H3LIS331DL_FS_400
    REG5_TURNON0 = _pyupm_h3lis331dl.H3LIS331DL_REG5_TURNON0
    REG5_TURNON1 = _pyupm_h3lis331dl.H3LIS331DL_REG5_TURNON1
    STATUS_XDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_XDA
    STATUS_YDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_YDA
    STATUS_ZDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZDA
    STATUS_ZYXDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZYXDA
    STATUS_XOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_XOR
    STATUS_YOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_YOR
    STATUS_ZOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZOR
    STATUS_ZYXOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZYXOR
    INT_CFG_XLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_XLIE
    INT_CFG_XHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_XHIE
    INT_CFG_YLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_YLIE
    INT_CFG_YHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_YHIE
    INT_CFG_ZLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_ZLIE
    INT_CFG_ZHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_ZHIE
    INT_CFG_AOI = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_AOI
    INT_SRC_XL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_XL
    INT_SRC_XH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_XH
    INT_SRC_YL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_YL
    INT_SRC_YH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_YH
    INT_SRC_ZL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_ZL
    INT_SRC_ZH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_ZH
    INT_SRC_IA = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_IA

    def __init__(self, bus, address=0x18):
        this = _pyupm_h3lis331dl.new_H3LIS331DL(bus, address)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_h3lis331dl.delete_H3LIS331DL
    __del__ = lambda self: None

    def init(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_init(self, *args)

    def getChipID(self):
        return _pyupm_h3lis331dl.H3LIS331DL_getChipID(self)

    def setDataRate(self, odr):
        return _pyupm_h3lis331dl.H3LIS331DL_setDataRate(self, odr)

    def setPowerMode(self, pm):
        return _pyupm_h3lis331dl.H3LIS331DL_setPowerMode(self, pm)

    def enableAxis(self, axisEnable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableAxis(self, axisEnable)

    def setFullScale(self, fs):
        return _pyupm_h3lis331dl.H3LIS331DL_setFullScale(self, fs)

    def setHPCF(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setHPCF(self, val)

    def setHPM(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setHPM(self, val)

    def boot(self):
        return _pyupm_h3lis331dl.H3LIS331DL_boot(self)

    def enableHPF1(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableHPF1(self, enable)

    def enableHPF2(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableHPF2(self, enable)

    def enableFDS(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableFDS(self, enable)

    def setInterruptActiveLow(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterruptActiveLow(self, enable)

    def setInterruptOpenDrain(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterruptOpenDrain(self, enable)

    def setInterrupt1Latch(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Latch(self, enable)

    def setInterrupt2Latch(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Latch(self, enable)

    def setInterrupt1PadConfig(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1PadConfig(self, val)

    def setInterrupt2PadConfig(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2PadConfig(self, val)

    def enableBDU(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableBDU(self, enable)

    def enableBLE(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableBLE(self, enable)

    def enableSleepToWake(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableSleepToWake(self, enable)

    def getStatus(self):
        return _pyupm_h3lis331dl.H3LIS331DL_getStatus(self)

    def setInterrupt1Config(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Config(self, val)

    def setInterrupt2Config(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Config(self, val)

    def setInterrupt1Source(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Source(self, val)

    def setInterrupt2Source(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Source(self, val)

    def setInterrupt1Threshold(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Threshold(self, val)

    def setInterrupt2Threshold(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Threshold(self, val)

    def setInterrupt1Duration(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Duration(self, val)

    def setInterrupt2Duration(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Duration(self, val)

    def update(self):
        return _pyupm_h3lis331dl.H3LIS331DL_update(self)

    def setAdjustmentOffsets(self, adjX, adjY, adjZ):
        return _pyupm_h3lis331dl.H3LIS331DL_setAdjustmentOffsets(self, adjX, adjY, adjZ)

    def getAcceleration(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getAcceleration(self, *args)

    def getRawXYZ(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getRawXYZ(self, *args)

    def getXYZ(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getXYZ(self, *args)

    def i2cContext(self):
        return _pyupm_h3lis331dl.H3LIS331DL_i2cContext(self)
H3LIS331DL_swigregister = _pyupm_h3lis331dl.H3LIS331DL_swigregister
H3LIS331DL_swigregister(H3LIS331DL)

# This file is compatible with both classic and new-style classes.


