# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.6 # # 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 if 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('_ArrayToB64', [dirname(__file__)]) except ImportError: import _ArrayToB64 return _ArrayToB64 if fp is not None: try: _mod = imp.load_module('_ArrayToB64', fp, pathname, description) finally: fp.close() return _mod _ArrayToB64 = swig_import_helper() del swig_import_helper else: import _ArrayToB64 del version_info try: _swig_property = property except NameError: pass # Python < 2.2 doesn't have 'property'. 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_nondynamic(self, class_type, name, static=1): if (name == "thisown"): return self.this.own() method = class_type.__swig_getmethods__.get(name, None) if method: return method(self) if (not static): return object.__getattr__(self, name) else: raise AttributeError(name) def _swig_getattr(self, class_type, name): return _swig_getattr_nondynamic(self, class_type, name, 0) def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) try: _object = object _newclass = 1 except AttributeError: class _object: pass _newclass = 0 class intp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, intp, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, intp, name) __repr__ = _swig_repr def __init__(self): this = _ArrayToB64.new_intp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_intp __del__ = lambda self: None def assign(self, value): return _ArrayToB64.intp_assign(self, value) def value(self): return _ArrayToB64.intp_value(self) def cast(self): return _ArrayToB64.intp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.intp_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.intp_frompointer) intp_swigregister = _ArrayToB64.intp_swigregister intp_swigregister(intp) def intp_frompointer(t): return _ArrayToB64.intp_frompointer(t) intp_frompointer = _ArrayToB64.intp_frompointer class doublep(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, doublep, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, doublep, name) __repr__ = _swig_repr def __init__(self): this = _ArrayToB64.new_doublep() try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_doublep __del__ = lambda self: None def assign(self, value): return _ArrayToB64.doublep_assign(self, value) def value(self): return _ArrayToB64.doublep_value(self) def cast(self): return _ArrayToB64.doublep_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.doublep_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.doublep_frompointer) doublep_swigregister = _ArrayToB64.doublep_swigregister doublep_swigregister(doublep) def doublep_frompointer(t): return _ArrayToB64.doublep_frompointer(t) doublep_frompointer = _ArrayToB64.doublep_frompointer class floatp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, floatp, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, floatp, name) __repr__ = _swig_repr def __init__(self): this = _ArrayToB64.new_floatp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_floatp __del__ = lambda self: None def assign(self, value): return _ArrayToB64.floatp_assign(self, value) def value(self): return _ArrayToB64.floatp_value(self) def cast(self): return _ArrayToB64.floatp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.floatp_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.floatp_frompointer) floatp_swigregister = _ArrayToB64.floatp_swigregister floatp_swigregister(floatp) def floatp_frompointer(t): return _ArrayToB64.floatp_frompointer(t) floatp_frompointer = _ArrayToB64.floatp_frompointer class inta(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, inta, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, inta, name) __repr__ = _swig_repr def __init__(self, nelements): this = _ArrayToB64.new_inta(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_inta __del__ = lambda self: None def __getitem__(self, index): return _ArrayToB64.inta___getitem__(self, index) def __setitem__(self, index, value): return _ArrayToB64.inta___setitem__(self, index, value) def cast(self): return _ArrayToB64.inta_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.inta_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.inta_frompointer) inta_swigregister = _ArrayToB64.inta_swigregister inta_swigregister(inta) def inta_frompointer(t): return _ArrayToB64.inta_frompointer(t) inta_frompointer = _ArrayToB64.inta_frompointer class doublea(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, doublea, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, doublea, name) __repr__ = _swig_repr def __init__(self, nelements): this = _ArrayToB64.new_doublea(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_doublea __del__ = lambda self: None def __getitem__(self, index): return _ArrayToB64.doublea___getitem__(self, index) def __setitem__(self, index, value): return _ArrayToB64.doublea___setitem__(self, index, value) def cast(self): return _ArrayToB64.doublea_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.doublea_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.doublea_frompointer) doublea_swigregister = _ArrayToB64.doublea_swigregister doublea_swigregister(doublea) def doublea_frompointer(t): return _ArrayToB64.doublea_frompointer(t) doublea_frompointer = _ArrayToB64.doublea_frompointer class floata(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, floata, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, floata, name) __repr__ = _swig_repr def __init__(self, nelements): this = _ArrayToB64.new_floata(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _ArrayToB64.delete_floata __del__ = lambda self: None def __getitem__(self, index): return _ArrayToB64.floata___getitem__(self, index) def __setitem__(self, index, value): return _ArrayToB64.floata___setitem__(self, index, value) def cast(self): return _ArrayToB64.floata_cast(self) __swig_getmethods__["frompointer"] = lambda x: _ArrayToB64.floata_frompointer if _newclass: frompointer = staticmethod(_ArrayToB64.floata_frompointer) floata_swigregister = _ArrayToB64.floata_swigregister floata_swigregister(floata) def floata_frompointer(t): return _ArrayToB64.floata_frompointer(t) floata_frompointer = _ArrayToB64.floata_frompointer 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__ = _ArrayToB64.delete_SwigPyIterator __del__ = lambda self: None def value(self): return _ArrayToB64.SwigPyIterator_value(self) def incr(self, n=1): return _ArrayToB64.SwigPyIterator_incr(self, n) def decr(self, n=1): return _ArrayToB64.SwigPyIterator_decr(self, n) def distance(self, x): return _ArrayToB64.SwigPyIterator_distance(self, x) def equal(self, x): return _ArrayToB64.SwigPyIterator_equal(self, x) def copy(self): return _ArrayToB64.SwigPyIterator_copy(self) def next(self): return _ArrayToB64.SwigPyIterator_next(self) def __next__(self): return _ArrayToB64.SwigPyIterator___next__(self) def previous(self): return _ArrayToB64.SwigPyIterator_previous(self) def advance(self, n): return _ArrayToB64.SwigPyIterator_advance(self, n) def __eq__(self, x): return _ArrayToB64.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _ArrayToB64.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _ArrayToB64.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _ArrayToB64.SwigPyIterator___isub__(self, n) def __add__(self, n): return _ArrayToB64.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _ArrayToB64.SwigPyIterator___sub__(self, *args) def __iter__(self): return self SwigPyIterator_swigregister = _ArrayToB64.SwigPyIterator_swigregister SwigPyIterator_swigregister(SwigPyIterator) import pygl_coord def UIntArrayToString(buffer, size): return _ArrayToB64.UIntArrayToString(buffer, size) UIntArrayToString = _ArrayToB64.UIntArrayToString def FloatArrayToString(buffer, size): return _ArrayToB64.FloatArrayToString(buffer, size) FloatArrayToString = _ArrayToB64.FloatArrayToString # This file is compatible with both classic and new-style classes.