# 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('_headers', [dirname(__file__)]) except ImportError: import _headers return _headers if fp is not None: try: _mod = imp.load_module('_headers', fp, pathname, description) finally: fp.close() return _mod _headers = swig_import_helper() del swig_import_helper else: import _headers 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 = _headers.new_intp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_intp __del__ = lambda self: None def assign(self, value): return _headers.intp_assign(self, value) def value(self): return _headers.intp_value(self) def cast(self): return _headers.intp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.intp_frompointer if _newclass: frompointer = staticmethod(_headers.intp_frompointer) intp_swigregister = _headers.intp_swigregister intp_swigregister(intp) def intp_frompointer(t): return _headers.intp_frompointer(t) intp_frompointer = _headers.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 = _headers.new_doublep() try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_doublep __del__ = lambda self: None def assign(self, value): return _headers.doublep_assign(self, value) def value(self): return _headers.doublep_value(self) def cast(self): return _headers.doublep_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.doublep_frompointer if _newclass: frompointer = staticmethod(_headers.doublep_frompointer) doublep_swigregister = _headers.doublep_swigregister doublep_swigregister(doublep) def doublep_frompointer(t): return _headers.doublep_frompointer(t) doublep_frompointer = _headers.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 = _headers.new_floatp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_floatp __del__ = lambda self: None def assign(self, value): return _headers.floatp_assign(self, value) def value(self): return _headers.floatp_value(self) def cast(self): return _headers.floatp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.floatp_frompointer if _newclass: frompointer = staticmethod(_headers.floatp_frompointer) floatp_swigregister = _headers.floatp_swigregister floatp_swigregister(floatp) def floatp_frompointer(t): return _headers.floatp_frompointer(t) floatp_frompointer = _headers.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 = _headers.new_inta(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_inta __del__ = lambda self: None def __getitem__(self, index): return _headers.inta___getitem__(self, index) def __setitem__(self, index, value): return _headers.inta___setitem__(self, index, value) def cast(self): return _headers.inta_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.inta_frompointer if _newclass: frompointer = staticmethod(_headers.inta_frompointer) inta_swigregister = _headers.inta_swigregister inta_swigregister(inta) def inta_frompointer(t): return _headers.inta_frompointer(t) inta_frompointer = _headers.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 = _headers.new_doublea(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_doublea __del__ = lambda self: None def __getitem__(self, index): return _headers.doublea___getitem__(self, index) def __setitem__(self, index, value): return _headers.doublea___setitem__(self, index, value) def cast(self): return _headers.doublea_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.doublea_frompointer if _newclass: frompointer = staticmethod(_headers.doublea_frompointer) doublea_swigregister = _headers.doublea_swigregister doublea_swigregister(doublea) def doublea_frompointer(t): return _headers.doublea_frompointer(t) doublea_frompointer = _headers.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 = _headers.new_floata(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _headers.delete_floata __del__ = lambda self: None def __getitem__(self, index): return _headers.floata___getitem__(self, index) def __setitem__(self, index, value): return _headers.floata___setitem__(self, index, value) def cast(self): return _headers.floata_cast(self) __swig_getmethods__["frompointer"] = lambda x: _headers.floata_frompointer if _newclass: frompointer = staticmethod(_headers.floata_frompointer) floata_swigregister = _headers.floata_swigregister floata_swigregister(floata) def floata_frompointer(t): return _headers.floata_frompointer(t) floata_frompointer = _headers.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__ = _headers.delete_SwigPyIterator __del__ = lambda self: None def value(self): return _headers.SwigPyIterator_value(self) def incr(self, n=1): return _headers.SwigPyIterator_incr(self, n) def decr(self, n=1): return _headers.SwigPyIterator_decr(self, n) def distance(self, x): return _headers.SwigPyIterator_distance(self, x) def equal(self, x): return _headers.SwigPyIterator_equal(self, x) def copy(self): return _headers.SwigPyIterator_copy(self) def next(self): return _headers.SwigPyIterator_next(self) def __next__(self): return _headers.SwigPyIterator___next__(self) def previous(self): return _headers.SwigPyIterator_previous(self) def advance(self, n): return _headers.SwigPyIterator_advance(self, n) def __eq__(self, x): return _headers.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _headers.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _headers.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _headers.SwigPyIterator___isub__(self, n) def __add__(self, n): return _headers.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _headers.SwigPyIterator___sub__(self, *args) def __iter__(self): return self SwigPyIterator_swigregister = _headers.SwigPyIterator_swigregister SwigPyIterator_swigregister(SwigPyIterator) class StringVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, StringVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, StringVector, name) __repr__ = _swig_repr def iterator(self): return _headers.StringVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _headers.StringVector___nonzero__(self) def __bool__(self): return _headers.StringVector___bool__(self) def __len__(self): return _headers.StringVector___len__(self) def pop(self): return _headers.StringVector_pop(self) def __getslice__(self, i, j): return _headers.StringVector___getslice__(self, i, j) def __setslice__(self, *args): return _headers.StringVector___setslice__(self, *args) def __delslice__(self, i, j): return _headers.StringVector___delslice__(self, i, j) def __delitem__(self, *args): return _headers.StringVector___delitem__(self, *args) def __getitem__(self, *args): return _headers.StringVector___getitem__(self, *args) def __setitem__(self, *args): return _headers.StringVector___setitem__(self, *args) def append(self, x): return _headers.StringVector_append(self, x) def empty(self): return _headers.StringVector_empty(self) def size(self): return _headers.StringVector_size(self) def clear(self): return _headers.StringVector_clear(self) def swap(self, v): return _headers.StringVector_swap(self, v) def get_allocator(self): return _headers.StringVector_get_allocator(self) def begin(self): return _headers.StringVector_begin(self) def end(self): return _headers.StringVector_end(self) def rbegin(self): return _headers.StringVector_rbegin(self) def rend(self): return _headers.StringVector_rend(self) def pop_back(self): return _headers.StringVector_pop_back(self) def erase(self, *args): return _headers.StringVector_erase(self, *args) def __init__(self, *args): this = _headers.new_StringVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _headers.StringVector_push_back(self, x) def front(self): return _headers.StringVector_front(self) def back(self): return _headers.StringVector_back(self) def assign(self, n, x): return _headers.StringVector_assign(self, n, x) def resize(self, *args): return _headers.StringVector_resize(self, *args) def insert(self, *args): return _headers.StringVector_insert(self, *args) def reserve(self, n): return _headers.StringVector_reserve(self, n) def capacity(self): return _headers.StringVector_capacity(self) __swig_destroy__ = _headers.delete_StringVector __del__ = lambda self: None StringVector_swigregister = _headers.StringVector_swigregister StringVector_swigregister(StringVector) class StringStringVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, StringStringVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, StringStringVector, name) __repr__ = _swig_repr def iterator(self): return _headers.StringStringVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _headers.StringStringVector___nonzero__(self) def __bool__(self): return _headers.StringStringVector___bool__(self) def __len__(self): return _headers.StringStringVector___len__(self) def pop(self): return _headers.StringStringVector_pop(self) def __getslice__(self, i, j): return _headers.StringStringVector___getslice__(self, i, j) def __setslice__(self, *args): return _headers.StringStringVector___setslice__(self, *args) def __delslice__(self, i, j): return _headers.StringStringVector___delslice__(self, i, j) def __delitem__(self, *args): return _headers.StringStringVector___delitem__(self, *args) def __getitem__(self, *args): return _headers.StringStringVector___getitem__(self, *args) def __setitem__(self, *args): return _headers.StringStringVector___setitem__(self, *args) def append(self, x): return _headers.StringStringVector_append(self, x) def empty(self): return _headers.StringStringVector_empty(self) def size(self): return _headers.StringStringVector_size(self) def clear(self): return _headers.StringStringVector_clear(self) def swap(self, v): return _headers.StringStringVector_swap(self, v) def get_allocator(self): return _headers.StringStringVector_get_allocator(self) def begin(self): return _headers.StringStringVector_begin(self) def end(self): return _headers.StringStringVector_end(self) def rbegin(self): return _headers.StringStringVector_rbegin(self) def rend(self): return _headers.StringStringVector_rend(self) def pop_back(self): return _headers.StringStringVector_pop_back(self) def erase(self, *args): return _headers.StringStringVector_erase(self, *args) def __init__(self, *args): this = _headers.new_StringStringVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _headers.StringStringVector_push_back(self, x) def front(self): return _headers.StringStringVector_front(self) def back(self): return _headers.StringStringVector_back(self) def assign(self, n, x): return _headers.StringStringVector_assign(self, n, x) def resize(self, *args): return _headers.StringStringVector_resize(self, *args) def insert(self, *args): return _headers.StringStringVector_insert(self, *args) def reserve(self, n): return _headers.StringStringVector_reserve(self, n) def capacity(self): return _headers.StringStringVector_capacity(self) __swig_destroy__ = _headers.delete_StringStringVector __del__ = lambda self: None StringStringVector_swigregister = _headers.StringStringVector_swigregister StringStringVector_swigregister(StringStringVector) class header_info(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, header_info, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, header_info, name) __repr__ = _swig_repr def __init__(self, filename): this = _headers.new_header_info(filename) try: self.this.append(this) except: self.this = this def GetNumberCols(self, label): return _headers.header_info_GetNumberCols(self, label) def GetNumberFCols(self): return _headers.header_info_GetNumberFCols(self) def GetNumberPhiCols(self): return _headers.header_info_GetNumberPhiCols(self) def GetNumberWCols(self): return _headers.header_info_GetNumberWCols(self) def GetColLabel(self, label, i): return _headers.header_info_GetColLabel(self, label, i) def GetFColLabel(self, i): return _headers.header_info_GetFColLabel(self, i) def GetPhiColLabel(self, i): return _headers.header_info_GetPhiColLabel(self, i) def GetWColLabel(self, i): return _headers.header_info_GetWColLabel(self, i) def GetColLabels(self, label): return _headers.header_info_GetColLabels(self, label) def GetFColLabels(self): return _headers.header_info_GetFColLabels(self) def GetPhiColLabels(self): return _headers.header_info_GetPhiColLabels(self) def GetWColLabels(self): return _headers.header_info_GetWColLabels(self) def GetColTypes(self): return _headers.header_info_GetColTypes(self) def GetUnsortedHeadersAndTypes(self): return _headers.header_info_GetUnsortedHeadersAndTypes(self) __swig_destroy__ = _headers.delete_header_info __del__ = lambda self: None header_info_swigregister = _headers.header_info_swigregister header_info_swigregister(header_info) # This file is compatible with both classic and new-style classes.